Skip to content

Commit f201edc

Browse files
penDerGraftMylesBorins
authored andcommitted
test: replace fixturesDir with fixtures module
PR-URL: #15919 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 906f2b1 commit f201edc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/sequential/test-debugger-debug-brk.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
'use strict';
22
const common = require('../common');
33
common.skipIfInspectorDisabled();
4+
const fixtures = require('../common/fixtures');
45
const assert = require('assert');
56
const spawn = require('child_process').spawn;
67

7-
const script = `${common.fixturesDir}/empty.js`;
8+
// file name here doesn't actually matter since
9+
// debugger will connect regardless of file name arg
10+
const script = fixtures.path('empty.js');
811

912
function test(arg) {
1013
const child = spawn(process.execPath, ['--inspect', arg, script]);

0 commit comments

Comments
 (0)