From cb3348715b7f6d82e2b19b3ad3a854f05692c105 Mon Sep 17 00:00:00 2001 From: Jason Chung Date: Wed, 22 Nov 2017 16:51:15 +0800 Subject: [PATCH] test: use common.crashOnUnhandledRejection PR-URL: https://github.com/nodejs/node/pull/17233 Reviewed-By: Myles Borins Reviewed-By: James M Snell --- test/parallel/test-repl-load-multiline.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/parallel/test-repl-load-multiline.js b/test/parallel/test-repl-load-multiline.js index fd58a3c21dd884..8ab878ae768ddd 100644 --- a/test/parallel/test-repl-load-multiline.js +++ b/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');