We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 397ad09 commit ae75af5Copy full SHA for ae75af5
test/parallel/test-fs-symlink.js
@@ -21,6 +21,7 @@
21
22
'use strict';
23
const common = require('../common');
24
+const fixtures = require('../common/fixtures');
25
if (!common.canCreateSymLink())
26
common.skip('insufficient privileges');
27
@@ -34,7 +35,7 @@ let fileTime;
34
35
common.refreshTmpDir();
36
37
// test creating and reading symbolic link
-const linkData = path.join(common.fixturesDir, '/cycles/root.js');
38
+const linkData = fixtures.path('/cycles/root.js');
39
const linkPath = path.join(common.tmpDir, 'symlink1.js');
40
41
fs.symlink(linkData, linkPath, common.mustCall(function(err) {
0 commit comments