Browse Source

test: replace fixturesDir with fixtures module

PR-URL: https://github.com/nodejs/node/pull/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>
v9.x-staging
penDerGraft 7 years ago
committed by Ruben Bridgewater
parent
commit
261ae7f58a
No known key found for this signature in database GPG Key ID: F07496B3EB3C1762
  1. 5
      test/sequential/test-debugger-debug-brk.js

5
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]);

Loading…
Cancel
Save