Skip to content

Commit

Permalink
test: replace fixturesDir with fixtures module
Browse files Browse the repository at this point in the history
PR-URL: #15919
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
penDerGraft authored and MylesBorins committed Oct 11, 2017
1 parent 906f2b1 commit f201edc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/sequential/test-debugger-debug-brk.js
Original file line number Diff line number Diff line change
@@ -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]);
Expand Down

0 comments on commit f201edc

Please sign in to comment.