Skip to content

Commit 40e10d7

Browse files
author
Robert Jackson
committed
Use Junctions for symlinking on Windows.
1 parent 3b712e9 commit 40e10d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

node-tests/addon-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ describe('EmberData Packages Polyfill', function() {
13831383
let linkPath = path.join(fixturifyProject.root, '/whatever/node_modules/ember-cli-babel');
13841384
let addonPath = path.resolve(__dirname, '../');
13851385
rimraf.sync(linkPath);
1386-
fs.symlinkSync(addonPath, linkPath);
1386+
fs.symlinkSync(addonPath, linkPath, 'junction');
13871387
unlink = () => {
13881388
fs.unlinkSync(linkPath);
13891389
};
@@ -1594,7 +1594,7 @@ describe('EmberData Packages Polyfill - ember-cli-babel for ember-data', functio
15941594
let linkPath = path.join(fixturifyProject.root, `/whatever/node_modules/${p}/node_modules/ember-cli-babel`);
15951595
let addonPath = path.resolve(__dirname, '../');
15961596
rimraf.sync(linkPath);
1597-
fs.symlinkSync(addonPath, linkPath);
1597+
fs.symlinkSync(addonPath, linkPath, 'junction');
15981598
unlink = () => {
15991599
fs.unlinkSync(linkPath);
16001600
};

0 commit comments

Comments
 (0)