Skip to content

Commit

Permalink
Update test/parallel/test-stream-asIndexedPairs.mjs
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
benjamingr and aduh95 authored Jan 24, 2022
1 parent 1ae8321 commit 6891680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-stream-asIndexedPairs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { deepStrictEqual, rejects } from 'assert';
const p = Readable.from([1, 2, 3]).asIndexedPairs({ signal }).toArray();
ac.abort();
await p;
}, /AbortError/);
}, { name: 'AbortError' });

await rejects(async () => {
const signal = AbortSignal.abort();
Expand Down

0 comments on commit 6891680

Please sign in to comment.