Skip to content

Commit ae75af5

Browse files
joshualim92targos
authored andcommitted
test: replace fixturesDir to use fixtures module
PR-URL: #15831 iReviewed-By: Ryan Graham <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent 397ad09 commit ae75af5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-fs-symlink.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
'use strict';
2323
const common = require('../common');
24+
const fixtures = require('../common/fixtures');
2425
if (!common.canCreateSymLink())
2526
common.skip('insufficient privileges');
2627

@@ -34,7 +35,7 @@ let fileTime;
3435
common.refreshTmpDir();
3536

3637
// test creating and reading symbolic link
37-
const linkData = path.join(common.fixturesDir, '/cycles/root.js');
38+
const linkData = fixtures.path('/cycles/root.js');
3839
const linkPath = path.join(common.tmpDir, 'symlink1.js');
3940

4041
fs.symlink(linkData, linkPath, common.mustCall(function(err) {

0 commit comments

Comments
 (0)