Skip to content

Commit 700c6be

Browse files
committed
Fix promise-queue test formatting
1 parent 1be6c23 commit 700c6be

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/unit/lib/promise-queue.test.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ describe('PromiseQueue', () => {
5858
})
5959

6060
it('throws error for invalid maxConcurrency', () => {
61-
expect(() => new PromiseQueue(0)).toThrow('maxConcurrency must be at least 1')
61+
expect(() => new PromiseQueue(0)).toThrow(
62+
'maxConcurrency must be at least 1',
63+
)
6264
expect(() => new PromiseQueue(-1)).toThrow(
6365
'maxConcurrency must be at least 1',
6466
)

0 commit comments

Comments
 (0)