Skip to content

Commit 9dbe298

Browse files
shaun-sweetMylesBorins
authored andcommitted
test: use common.fixtures module
PR-URL: #15992 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent b2a7adb commit 9dbe298

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-eval-require.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
'use strict';
22
const common = require('../common');
3+
const { fixturesDir } = require('../common/fixtures');
34
const assert = require('assert');
45
const spawn = require('child_process').spawn;
56

67
const options = {
7-
cwd: common.fixturesDir
8+
cwd: fixturesDir
89
};
910
const child = spawn(process.execPath, ['-e', 'require("foo")'], options);
1011
child.on('exit', common.mustCall((code) => {

0 commit comments

Comments
 (0)