Skip to content

Commit

Permalink
fix uncaught/strict test
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
  • Loading branch information
boneskull committed Oct 30, 2020
1 parent 562b94a commit fc0b6cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/uncaught.spec.js
Expand Up @@ -198,7 +198,7 @@ describe('uncaught exceptions', function() {
});

describe('when Node is in "strict" mode', function() {
it('should fail', async function() {
it('should fail with an uncaught exception', async function() {
const [, promise] = invokeMochaAsync(
[
resolveFixturePath('uncaught/unhandled'),
Expand All @@ -210,7 +210,7 @@ describe('uncaught exceptions', function() {
promise,
'when fulfilled',
'to have failed with output',
/'ERR_UNHANDLED_REJECTION'/
/Error: yikes/
);
});
});
Expand Down

0 comments on commit fc0b6cd

Please sign in to comment.