Skip to content
Prev Previous commit
ifxuo
  • Loading branch information
ronag committed Dec 29, 2021
commit 686d9e67140cd7e73292f67be33e48f508f7a039
2 changes: 1 addition & 1 deletion test/parallel/test-stream-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const { setTimeout } = require('timers/promises');
for await (const _ of Readable.from([1]).map((x) => x, {
concurrency: 'Foo'
}));
}, /ERR_INVALID_ARG_TYPE/).then(common.mustCall());
}, /ERR_OUT_OF_RANGE/).then(common.mustCall());
assert.rejects(async () => {
// eslint-disable-next-line no-unused-vars
for await (const _ of Readable.from([1]).map((x) => x, 1));
Expand Down