Skip to content

Commit 743cb9c

Browse files
akiokioMylesBorins
authored andcommitted
test: change fixturesDir to fixtures.path
PR-URL: #15863 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 26b66ee commit 743cb9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/sequential/test-init.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use strict';
22
const common = require('../common');
3+
const fixtures = require('../common/fixtures');
34
const assert = require('assert');
45
const child = require('child_process');
56
const path = require('path');
@@ -28,7 +29,7 @@ function test(file, expected) {
2829

2930
{
3031
// test-init-index is in fixtures dir as requested by ry, so go there
31-
process.chdir(common.fixturesDir);
32+
process.chdir(fixtures.path());
3233
test('test-init-index', 'Loaded successfully!');
3334
}
3435

0 commit comments

Comments
 (0)