Skip to content

Commit

Permalink
fix: add wait time for File download
Browse files Browse the repository at this point in the history
  • Loading branch information
ekraffmiller committed May 3, 2024
1 parent f84b01a commit 7dcff68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ describe('File JSDataverse Repository', () => {
if (!dataset) throw new Error('Dataset not found')

await FileHelper.download(datasetResponse.files[0].id)
await TestsUtils.wait(1500) // Wait for the file to be downloaded
await TestsUtils.wait(3000) // Wait for the file to be downloaded

await fileRepository
.getAllByDatasetPersistentId(dataset.persistentId, dataset.version)
Expand Down

0 comments on commit 7dcff68

Please sign in to comment.