summaryrefslogtreecommitdiff
path: root/test/parallel/test-module-children.js
diff options
context:
space:
mode:
authorelisa lee <elisa.my.lee@gmail.com>2017-10-18 17:06:37 -0500
committerTobias Nießen <tniessen@tnie.de>2017-10-19 18:01:02 +0200
commitca12ae6015e6936ecc8cea89222eee42911d1bf1 (patch)
tree5010bbc0cc5849c974be098dc6090a094b01655a /test/parallel/test-module-children.js
parent35deef06765cdf5638a7d031ab7e832af3cf4c82 (diff)
downloadnode-new-ca12ae6015e6936ecc8cea89222eee42911d1bf1.tar.gz
test: replace fixturesDir with fixtures module
PR-URL: https://github.com/nodejs/node/pull/16095 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test/parallel/test-module-children.js')
-rw-r--r--test/parallel/test-module-children.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/parallel/test-module-children.js b/test/parallel/test-module-children.js
index 9eec14fda6..e2d3484efb 100644
--- a/test/parallel/test-module-children.js
+++ b/test/parallel/test-module-children.js
@@ -1,10 +1,11 @@
// Flags: --no-deprecation
'use strict';
-const common = require('../common');
+require('../common');
+const fixtures = require('../common/fixtures');
const assert = require('assert');
const path = require('path');
-const dir = path.join(common.fixturesDir, 'GH-7131');
+const dir = fixtures.path('GH-7131');
const b = require(path.join(dir, 'b'));
const a = require(path.join(dir, 'a'));