We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24d7294 commit 4826ac5Copy full SHA for 4826ac5
test/parallel/test-fs-read.js
@@ -21,10 +21,10 @@
21
22
'use strict';
23
const common = require('../common');
24
+const fixtures = require('../common/fixtures');
25
const assert = require('assert');
-const path = require('path');
26
const fs = require('fs');
27
-const filepath = path.join(common.fixturesDir, 'x.txt');
+const filepath = fixtures.path('x.txt');
28
const fd = fs.openSync(filepath, 'r');
29
30
const expected = Buffer.from('xyz\n');
0 commit comments