diff --git a/test/sequential/test-debugger-debug-brk.js b/test/sequential/test-debugger-debug-brk.js index 54e17135640f19..e2733e49dcf67c 100644 --- a/test/sequential/test-debugger-debug-brk.js +++ b/test/sequential/test-debugger-debug-brk.js @@ -1,10 +1,13 @@ 'use strict'; const common = require('../common'); common.skipIfInspectorDisabled(); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const spawn = require('child_process').spawn; -const script = `${common.fixturesDir}/empty.js`; +// file name here doesn't actually matter since +// debugger will connect regardless of file name arg +const script = fixtures.path('empty.js'); function test(arg) { const child = spawn(process.execPath, ['--inspect', arg, script]);