diff --git a/test/parallel/test-common.js b/test/parallel/test-common.js index 647c39d939f2aa..7a73f93ae0f926 100644 --- a/test/parallel/test-common.js +++ b/test/parallel/test-common.js @@ -21,8 +21,8 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); -const { join } = require('path'); const { execFile } = require('child_process'); // test for leaked global detection @@ -72,10 +72,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.' ] ];