diff options
author | Patryk Ludwikowski <psychoxivi@gmail.com> | 2022-07-28 00:15:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 00:15:05 +0300 |
commit | 62b95a04337661e3fa17093708b57000054442d9 (patch) | |
tree | 04337027c37ab2e6341b921b3ee935e78747c49d /tap-snapshots | |
parent | de40c31d1fe7521ffbc4e22fd233b18eca149afe (diff) |
fix: allow hash character in paths (#5122)
* fix: allow link from path with hash character
* fix: allow hash character in path in other places
* Remove extra semicolon
Diffstat (limited to 'tap-snapshots')
-rw-r--r-- | tap-snapshots/test/lib/commands/link.js.test.cjs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tap-snapshots/test/lib/commands/link.js.test.cjs b/tap-snapshots/test/lib/commands/link.js.test.cjs index a9a10b20a..e01409e4c 100644 --- a/tap-snapshots/test/lib/commands/link.js.test.cjs +++ b/tap-snapshots/test/lib/commands/link.js.test.cjs @@ -5,6 +5,11 @@ * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' +exports[`test/lib/commands/link.js TAP hash character in working directory path > should create a global link to current pkg, even within path with hash 1`] = ` +{CWD}/test/lib/commands/tap-testdir-link-hash-character-in-working-directory-path/global-prefix/lib/node_modules/test-pkg-link -> {CWD}/test/lib/commands/tap-testdir-link-hash-character-in-working-directory-path/i_like_#_in_my_paths/test-pkg-link + +` + exports[`test/lib/commands/link.js TAP link global linked pkg to local nm when using args > should create a local symlink to global pkg 1`] = ` {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/@myscope/bar -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/global-prefix/lib/node_modules/@myscope/bar {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/@myscope/linked -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/scoped-linked |