diff --git a/test/parallel/test-fs-error-messages.js b/test/parallel/test-fs-error-messages.js index 6fc555eca2ae17..808ce34a579f85 100644 --- a/test/parallel/test-fs-error-messages.js +++ b/test/parallel/test-fs-error-messages.js @@ -21,14 +21,15 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const path = require('path'); const fs = require('fs'); -const fn = path.join(common.fixturesDir, 'non-existent'); -const existingFile = path.join(common.fixturesDir, 'exit.js'); -const existingFile2 = path.join(common.fixturesDir, 'create-file.js'); -const existingDir = path.join(common.fixturesDir, 'empty'); -const existingDir2 = path.join(common.fixturesDir, 'keys'); +const fn = fixtures.path('non-existent'); +const existingFile = fixtures.path('exit.js'); +const existingFile2 = fixtures.path('create-file.js'); +const existingDir = fixtures.path('empty'); +const existingDir2 = fixtures.path('keys'); // ASYNC_CALL