diff --git a/test/parallel/test-common.js b/test/parallel/test-common.js index 583a5272c6f54c..037303a6dd08bf 100644 --- a/test/parallel/test-common.js +++ b/test/parallel/test-common.js @@ -1,8 +1,7 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); - -const {join} = require('path'); const {execFile} = require('child_process'); common.globalCheck = false; @@ -37,10 +36,10 @@ fnAtLeast2Called3(); const failFixtures = [ [ - join(common.fixturesDir, 'failmustcall1.js'), + fixtures.path('failmustcall1.js'), 'Mismatched function calls. Expected exactly 2, actual 1.' ], [ - join(common.fixturesDir, 'failmustcall2.js'), + fixtures.path('failmustcall2.js'), 'Mismatched function calls. Expected at least 2, actual 1.' ] ];