10BC0
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 f46e118 commit e00a4c8Copy full SHA for e00a4c8
test/parallel/test-fs-read.js
@@ -1,9 +1,9 @@
1
'use strict';
2
const common = require('../common');
3
+const fixtures = require('../common/fixtures');
4
const assert = require('assert');
-const path = require('path');
5
const fs = require('fs');
6
-const filepath = path.join(common.fixturesDir, 'x.txt');
+const filepath = fixtures.path('x.txt');
7
const fd = fs.openSync(filepath, 'r');
8
const expected = 'xyz\n';
9
0 commit comments