From 743cb9c4d48b667c6e18559bbc1e9d13d43cb148 Mon Sep 17 00:00:00 2001 From: Guilherme Akio Sakae Date: Fri, 6 Oct 2017 09:51:12 -0700 Subject: [PATCH] test: change fixturesDir to fixtures.path PR-URL: https://github.com/nodejs/node/pull/15863 Reviewed-By: Rich Trott Reviewed-By: Gibson Fahnestock Reviewed-By: James M Snell Reviewed-By: Luigi Pinca --- test/sequential/test-init.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/sequential/test-init.js b/test/sequential/test-init.js index 75ac39c35ae4cc..6360fbae4a5174 100644 --- a/test/sequential/test-init.js +++ b/test/sequential/test-init.js @@ -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'); @@ -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!'); }