From cbbc1e4496bb41e917e496b8ea6fcaabfccaf4eb Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Fri, 6 Oct 2017 11:08:47 -0700 Subject: [PATCH] test: move to common.fixtures PR-URL: https://github.com/nodejs/node/pull/15987 Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca Reviewed-By: Yuta Hiroto --- test/parallel/test-module-loading-globalpaths.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-module-loading-globalpaths.js b/test/parallel/test-module-loading-globalpaths.js index c12228ece763bf..cd3144f8cd41a4 100644 --- a/test/parallel/test-module-loading-globalpaths.js +++ b/test/parallel/test-module-loading-globalpaths.js @@ -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'); @@ -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.