X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/905f260842e2863ca42d27fcefcfa94d1cc45267..a71b18d036e642ace1ae4bdd06f7df8409faf1b4:/src/services/collection-files-service/collection-manifest-mapper.test.ts diff --git a/src/services/collection-files-service/collection-manifest-mapper.test.ts b/src/services/collection-files-service/collection-manifest-mapper.test.ts index f08ea7bd..698a6bb7 100644 --- a/src/services/collection-files-service/collection-manifest-mapper.test.ts +++ b/src/services/collection-files-service/collection-manifest-mapper.test.ts @@ -14,25 +14,29 @@ test('mapManifestToFiles', () => { id: '/a', name: 'a', size: 0, - type: 'file' + type: 'file', + url: '' }, { path: '', id: '/b', name: 'b', size: 0, - type: 'file' + type: 'file', + url: '' }, { path: '', id: '/output.txt', name: 'output.txt', size: 33, - type: 'file' + type: 'file', + url: '' }, { path: '/c', id: '/c/d', name: 'd', size: 0, - type: 'file' + type: 'file', + url: '' },]); }); @@ -44,17 +48,20 @@ test('mapManifestToDirectories', () => { path: "", id: '/c', name: 'c', - type: 'directory' + type: 'directory', + url: '' }, { path: '/c', id: '/c/user', name: 'user', - type: 'directory' + type: 'directory', + url: '' }, { path: '/c/user', id: '/c/user/results', name: 'results', - type: 'directory' + type: 'directory', + url: '' },]); });