Skip to content

Commit a31c748

Browse files
committed
quic: fix lint and test
1 parent e4f48fe commit a31c748

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/parallel/test-quic-stream-limits-pending.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// and open when existing streams close.
77
// initialMaxStreamsUni limits concurrent uni streams (same behavior).
88

9-
import { hasQuic, skip, mustCall, mustNotCall } from '../common/index.mjs';
9+
import { hasQuic, skip, mustCall } from '../common/index.mjs';
1010
import assert from 'node:assert';
1111

1212
if (!hasQuic) {
@@ -80,7 +80,7 @@ await s1.closed;
8080
const err = new Error('Test error');
8181
s3.destroy(err);
8282

83-
await assert.rejects(stream.closed, err);
83+
await Promise.all([assert.rejects(s3.opened, err), assert.rejects(s3.closed, err)]);
8484

8585

8686
// After s1 closes, the server sends MAX_STREAMS which opens s2.

0 commit comments

Comments
 (0)