Skip to content

Commit

Permalink
test: replace fixturesDir to use fixtures module
Browse files Browse the repository at this point in the history
  • Loading branch information
joshualim92 authored and Josh Lim committed Oct 10, 2017
1 parent 6d9654b commit 19f5b96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-fs-symlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

'use strict';
const common = require('../common');
const fixtures = require('../common/fixtures');
if (!common.canCreateSymLink())
common.skip('insufficient privileges');

Expand All @@ -34,7 +35,7 @@ let fileTime;
common.refreshTmpDir();

// test creating and reading symbolic link
const linkData = path.join(common.fixturesDir, '/cycles/root.js');
const linkData = fixtures.path('/cycles/root.js');
const linkPath = path.join(common.tmpDir, 'symlink1.js');

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

0 comments on commit 19f5b96

Please sign in to comment.