Skip to content

Commit ce88af1

Browse files
alexeymtargos
authored andcommitted
test: use common/fixtures in fs-symlink test
PR-URL: #15830 Reviewed-By: Lance Ball <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent e375b8c commit ce88af1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/parallel/test-fs-symlink-dir-junction.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,17 @@
2121

2222
'use strict';
2323
const common = require('../common');
24+
const fixtures = require('../common/fixtures');
2425
const assert = require('assert');
2526
const path = require('path');
2627
const fs = require('fs');
2728

2829
// test creating and reading symbolic link
29-
const linkData = path.join(common.fixturesDir, 'cycles/');
30+
const linkData = fixtures.path('cycles/');
3031
const linkPath = path.join(common.tmpDir, 'cycles_link');
3132

3233
common.refreshTmpDir();
3334

34-
console.log(`linkData: ${linkData}`);
35-
console.log(`linkPath: ${linkPath}`);
36-
3735
fs.symlink(linkData, linkPath, 'junction', common.mustCall(function(err) {
3836
assert.ifError(err);
3937

0 commit comments

Comments
 (0)