Skip to content

Commit

Permalink
test: change fixturesDir to fixtures.path
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
akiokio authored and MylesBorins committed Nov 28, 2017
1 parent bf7f63d commit 095df35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/sequential/test-init.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';
const common = require('../common');
const fixtures = require('../common/fixtures');
const assert = require('assert');
const child = require('child_process');
const path = require('path');
Expand Down Expand Up @@ -28,7 +29,7 @@ function test(file, expected) {

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

Expand Down

0 comments on commit 095df35

Please sign in to comment.