We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1be6c23 commit 700c6beCopy full SHA for 700c6be
1 file changed
test/unit/lib/promise-queue.test.mts
@@ -58,7 +58,9 @@ describe('PromiseQueue', () => {
58
})
59
60
it('throws error for invalid maxConcurrency', () => {
61
- expect(() => new PromiseQueue(0)).toThrow('maxConcurrency must be at least 1')
+ expect(() => new PromiseQueue(0)).toThrow(
62
+ 'maxConcurrency must be at least 1',
63
+ )
64
expect(() => new PromiseQueue(-1)).toThrow(
65
'maxConcurrency must be at least 1',
66
)
0 commit comments