Skip to content

Commit

Permalink
test: use common.fixtures module
Browse files Browse the repository at this point in the history
PR-URL: #15992
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
shaun-sweet authored and MylesBorins committed Nov 21, 2017
1 parent 116f4a9 commit fc4fa2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-eval-require.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
'use strict';
const common = require('../common');
const { fixturesDir } = require('../common/fixtures');
const assert = require('assert');
const spawn = require('child_process').spawn;

const options = {
cwd: common.fixturesDir
cwd: fixturesDir
};
const child = spawn(process.execPath, ['-e', 'require("foo")'], options);
child.on('exit', common.mustCall((code) => {
Expand Down

0 comments on commit fc4fa2e

Please sign in to comment.