We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 699659e commit 797e33bCopy full SHA for 797e33b
1 file changed
test/parallel/test-repl-load-multiline.js
@@ -1,11 +1,12 @@
1
'use strict';
2
const common = require('../common');
3
-const path = require('path');
4
-const fixtures = common.fixturesDir;
+const fixtures = require('../common/fixtures');
5
const assert = require('assert');
6
const repl = require('repl');
7
8
-const command = `.load ${path.join(fixtures, 'repl-load-multiline.js')}`;
+common.crashOnUnhandledRejection();
+
9
+const command = `.load ${fixtures.path('repl-load-multiline.js')}`;
10
const terminalCode = '\u001b[1G\u001b[0J \u001b[1G';
11
const terminalCodeRegex = new RegExp(terminalCode.replace(/\[/g, '\\['), 'g');
12
0 commit comments