Skip to content

Commit

Permalink
test: use common.crashOnUnhandledRejection
Browse files Browse the repository at this point in the history
PR-URL: #17233
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Jason Chung authored and gibfahn committed Dec 20, 2017
1 parent 62ad4cc commit 3255686
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/parallel/test-repl-load-multiline.js
Expand Up @@ -4,6 +4,8 @@ const fixtures = require('../common/fixtures');
const assert = require('assert');
const repl = require('repl');

common.crashOnUnhandledRejection();

const command = `.load ${fixtures.path('repl-load-multiline.js')}`;
const terminalCode = '\u001b[1G\u001b[0J \u001b[1G';
const terminalCodeRegex = new RegExp(terminalCode.replace(/\[/g, '\\['), 'g');
Expand Down

0 comments on commit 3255686

Please sign in to comment.