Skip to content

Commit

Permalink
Fix unhandled promise rejection
Browse files Browse the repository at this point in the history
  • Loading branch information
mitjap committed Jun 9, 2021
1 parent a2287df commit 72601cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/Test-FileStore.js
Expand Up @@ -208,6 +208,7 @@ describe('FileStore', () => {
.then((file) => {
return file_store.write(write_stream, file.id, 0)
})
.catch(() => {})
.finally(() => done())
});
});
Expand Down
1 change: 1 addition & 0 deletions test/Test-GCSDataStore.js
Expand Up @@ -227,6 +227,7 @@ describe('GCSDataStore', () => {
files_created.push(file.id);
return server.datastore.write(write_stream, file.id, 0)
})
.catch(() => {})
.finally(() => done())
});

Expand Down

0 comments on commit 72601cf

Please sign in to comment.