From ca12ae6015e6936ecc8cea89222eee42911d1bf1 Mon Sep 17 00:00:00 2001 From: elisa lee Date: Wed, 18 Oct 2017 17:06:37 -0500 Subject: [PATCH] test: replace fixturesDir with fixtures module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/16095 Reviewed-By: Anatoli Papirovski Reviewed-By: Colin Ihrig Reviewed-By: Tobias Nießen Reviewed-By: Joyee Cheung Reviewed-By: Gireesh Punathil Reviewed-By: Ruben Bridgewater --- test/parallel/test-module-children.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-module-children.js b/test/parallel/test-module-children.js index 9eec14fda6e..e2d3484efb2 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'));