diff --git a/test/parallel/test-fs-buffer.js b/test/parallel/test-fs-buffer.js index e7f575a437..1cbead4344 100644 --- a/test/parallel/test-fs-buffer.js +++ b/test/parallel/test-fs-buffer.js @@ -1,6 +1,7 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const fs = require('fs'); const path = require('path'); @@ -28,7 +29,7 @@ assert.throws(() => { fs.accessSync(true); }, /path must be a string or Buffer/); -const dir = Buffer.from(common.fixturesDir); +const dir = Buffer.from(fixtures.fixturesDir); fs.readdir(dir, 'hex', common.mustCall((err, hexList) => { assert.ifError(err); fs.readdir(dir, common.mustCall((err, stringList) => {