Skip to content

Commit cb33487

Browse files
Jason ChungMylesBorins
Jason Chung
authored andcommitted
test: use common.crashOnUnhandledRejection
PR-URL: #17233 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 623b589 commit cb33487

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-repl-load-multiline.js

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ const fixtures = require('../common/fixtures');
44
const assert = require('assert');
55
const repl = require('repl');
66

7+
common.crashOnUnhandledRejection();
8+
79
const command = `.load ${fixtures.path('repl-load-multiline.js')}`;
810
const terminalCode = '\u001b[1G\u001b[0J \u001b[1G';
911
const terminalCodeRegex = new RegExp(terminalCode.replace(/\[/g, '\\['), 'g');

0 commit comments

Comments
 (0)