Skip to content

Commit dae022e

Browse files
emyl3MylesBorins
authored andcommitted
test: replace fixturesDir with fixtures module
PR-URL: #16095 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
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)