From 5f1c54a9795d69d2c537fe9e1d180c3de9711afe Mon Sep 17 00:00:00 2001 From: Suresh Srinivas Date: Fri, 6 Oct 2017 09:47:22 -0700 Subject: [PATCH] Fixing to use common.fixtures module --- test/sequential/test-process-warnings.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/sequential/test-process-warnings.js b/test/sequential/test-process-warnings.js index 944029d8b3d732..2d4700561e404a 100644 --- a/test/sequential/test-process-warnings.js +++ b/test/sequential/test-process-warnings.js @@ -1,9 +1,10 @@ 'use strict'; -const common = require('../common'); +require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const execFile = require('child_process').execFile; -const warnmod = require.resolve(`${common.fixturesDir}/warnings.js`); +const warnmod = require.resolve(fixtures.path('warnings.js')); const node = process.execPath; const normal = [warnmod];