Skip to content

Commit

Permalink
One more suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
huntharo committed Oct 2, 2021
1 parent 164a26b commit 5792f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Expand Up @@ -237,7 +237,7 @@ test('no unhandled rejected promises from mapper throws - infinite concurrency',
}),
{message: 'Oops! 1'}
);
// Note: All 3 mappers get invoked, all 3 throw, even with stop on error this
// Note: All 3 mappers get invoked, all 3 throw, even with `{stopOnError: true}` this
// should raise an AggregateError with all 3 exceptions instead of throwing 1
// exception and hiding the other 2.
t.deepEqual(mappedValues, [1, 2, 3]);
Expand Down

0 comments on commit 5792f9b

Please sign in to comment.