Skip to content

Commit dae022e

Browse files
emyl3MylesBorins
authored andcommitted
test: replace fixturesDir with fixtures module
PR-URL: #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>
1 parent 6c809e0 commit dae022e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/parallel/test-module-children.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
// Flags: --no-deprecation
22
'use strict';
3-
const common = require('../common');
3+
require('../common');
4+
const fixtures = require('../common/fixtures');
45
const assert = require('assert');
56
const path = require('path');
67

7-
const dir = path.join(common.fixturesDir, 'GH-7131');
8+
const dir = fixtures.path('GH-7131');
89
const b = require(path.join(dir, 'b'));
910
const a = require(path.join(dir, 'a'));
1011

0 commit comments

Comments
 (0)