Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Commit

Permalink
test: move to common.fixtures
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#15987
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
  • Loading branch information
JustinBeckwith authored and addaleax committed Oct 15, 2017
1 parent 7699238 commit 5bc2d4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-module-loading-globalpaths.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';
const common = require('../common');
const fixtures = require('../common/fixtures');
const assert = require('assert');
const path = require('path');
const fs = require('fs');
Expand Down Expand Up @@ -33,8 +34,7 @@ if (process.argv[2] === 'child') {
assert.strictEqual(child.trim(), expectedString);
};

const testFixturesDir = path.join(common.fixturesDir,
path.basename(__filename, '.js'));
const testFixturesDir = fixtures.path(path.basename(__filename, '.js'));

const env = Object.assign({}, process.env);
// Turn on module debug to aid diagnosing failures.
Expand Down

0 comments on commit 5bc2d4b

Please sign in to comment.