Skip to content

Commit

Permalink
added test for yarnpkg#2744
Browse files Browse the repository at this point in the history
  • Loading branch information
bestander committed Feb 27, 2017
1 parent b409e18 commit 1b3c037
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
6 changes: 6 additions & 0 deletions __tests__/commands/install/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -912,3 +912,9 @@ test.concurrent('should skip integrity check and do install when --skip-integrit

});
});

test.concurrent(
"should install if symlink source does not exist",
async (): Promise<void> => {
await runInstall({}, 'relative-symlinks-work', () => {});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"ref": "https://github.com/icenium/ref/tarball/v1.3.2.3"
}
}
34 changes: 34 additions & 0 deletions __tests__/fixtures/install/relative-symlinks-work/yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


bindings@1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.2.1.tgz#14ad6113812d2d37d72e67b4cacb4bb726505f11"

debug@2:
version "2.6.1"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.1.tgz#79855090ba2c4e3115cc7d8769491d58f0491351"
dependencies:
ms "0.7.2"

ms@0.7.2:
version "0.7.2"
resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765"

nan@2:
version "2.5.1"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.5.1.tgz#d5b01691253326a97a2bbee9e61c55d8d60351e2"

"prebuilt@https://github.com/tailsu/node-prebuilt/tarball/master":
version "0.1.0"
resolved "https://github.com/tailsu/node-prebuilt/tarball/master#be63229eaccee9c55bb67bc87eac527bdd640aa7"

"ref@https://github.com/icenium/ref/tarball/v1.3.2.3":
version "1.3.2"
resolved "https://github.com/icenium/ref/tarball/v1.3.2.3#a38db0780c37c66453f3f096dc3ade802cc8ce77"
dependencies:
bindings "1"
debug "2"
nan "2"
prebuilt "https://github.com/tailsu/node-prebuilt/tarball/master"

0 comments on commit 1b3c037

Please sign in to comment.