Skip to content

Commit

Permalink
test: attempt to make 'reports lock timeouts...' test more stable
Browse files Browse the repository at this point in the history
  • Loading branch information
sr258 committed Dec 29, 2024
1 parent 0c066ad commit 12ad7b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/h5p-server/test/LibraryManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ describe('basic file library manager functionality', () => {
await expect(Promise.all(promises)).rejects.toThrowError(
'server:install-library-lock-timeout'
);
await Promise.allSettled(promises);
},
{ keep: false, unsafeCleanup: true }
);
Expand Down

0 comments on commit 12ad7b6

Please sign in to comment.