From 261ae7f58a9ec670f7c6c7dbb911619685105068 Mon Sep 17 00:00:00 2001 From: penDerGraft Date: Fri, 6 Oct 2017 12:11:02 -0500 Subject: [PATCH] test: replace fixturesDir with fixtures module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/15919 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Ruben Bridgewater Reviewed-By: Rich Trott Reviewed-By: Tobias Nießen --- test/sequential/test-debugger-debug-brk.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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]);