Permalink
Browse files

test: use common.crashOnUnhandledRejection

PR-URL: #17233
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
shiningjason authored and MylesBorins committed Nov 22, 2017
1 parent c2c4dd4 commit 317f596bab62e4c596e73c10c2d8c007b562a904
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/parallel/test-repl-load-multiline.js
@@ -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');

0 comments on commit 317f596

Please sign in to comment.