From 244bfb398dc86af09aa3be7e57818c843178f279 Mon Sep 17 00:00:00 2001 From: Kat Rosario Date: Sat, 7 Oct 2017 02:29:12 +0900 Subject: [PATCH] test: fixtures in test-process-redirect-warnings-env Replaced common.fixturesDir with common.fixtures in test-process-redirect-warnings-env PR-URL: https://github.com/nodejs/node/pull/15930 Reviewed-By: Evan Lucas Reviewed-By: James M Snell --- test/parallel/test-process-redirect-warnings-env.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-process-redirect-warnings-env.js b/test/parallel/test-process-redirect-warnings-env.js index 86942dc9e88e11..6203c69a8dc742 100644 --- a/test/parallel/test-process-redirect-warnings-env.js +++ b/test/parallel/test-process-redirect-warnings-env.js @@ -6,6 +6,7 @@ // opened and the contents are validated const common = require('../common'); +const fixtures = require('../common/fixtures'); const fs = require('fs'); const fork = require('child_process').fork; const path = require('path'); @@ -13,7 +14,7 @@ const assert = require('assert'); common.refreshTmpDir(); -const warnmod = require.resolve(common.fixturesDir + '/warnings.js'); +const warnmod = require.resolve(fixtures.path('warnings.js')); const warnpath = path.join(common.tmpDir, 'warnings.txt'); fork(warnmod, {env: {NODE_REDIRECT_WARNINGS: warnpath}})