Skip to content

Commit

Permalink
WIP: Implement unit tests for sync service
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Ho <[email protected]>
  • Loading branch information
jujaga committed Aug 30, 2023
1 parent 0c543bf commit fea0d85
Show file tree
Hide file tree
Showing 2 changed files with 823 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/services/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const service = {

// Check for COMS and S3 Version statuses
const [comsVersions, s3VersionsRaw] = await Promise.allSettled([
versionService.list(comsObject.id),
versionService.list(comsObject.id, trx),
storageService.listAllObjectVersions({ filePath: comsObject.path, bucketId: comsObject.bucketId })
]).then(settled => settled.map(promise => promise.value));

Expand Down
Loading

0 comments on commit fea0d85

Please sign in to comment.