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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Jason Chung authored and MylesBorins committed Dec 12, 2017
1 parent 623b589 commit cb33487
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/parallel/test-repl-load-multiline.js
Original file line number Diff line number Diff line change
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 cb33487

Please sign in to comment.