backend-common: make ReadTreeResponse.files async
This commit is contained in:
@@ -30,7 +30,7 @@ describe('getDocFilesFromRepository', () => {
|
||||
dir: async () => {
|
||||
return '/tmp/testfolder';
|
||||
},
|
||||
files: () => {
|
||||
files: async () => {
|
||||
return [];
|
||||
},
|
||||
archive: async () => {
|
||||
@@ -78,7 +78,7 @@ describe('getDocFilesFromRepository', () => {
|
||||
dir: async () => {
|
||||
return '/tmp/testfolder';
|
||||
},
|
||||
files: () => {
|
||||
files: async () => {
|
||||
return [];
|
||||
},
|
||||
archive: async () => {
|
||||
|
||||
Reference in New Issue
Block a user