Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuy Adorno <ruyadorno@hotmail.com>2020-09-01 21:29:47 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2020-09-01 22:05:41 +0300
commite97ba6e5b26a4ae94bfd3c673b71305596e8fc81 (patch)
treec160740251623b94352d336f391809544f050078 /tap-snapshots
parent0e9687e4c93f82228919bbe97c85bae085dd2679 (diff)
fix: npm ls extraneous workspaces
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test-lib-ls.js-TAP.test.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/tap-snapshots/test-lib-ls.js-TAP.test.js b/tap-snapshots/test-lib-ls.js-TAP.test.js
index 6f0c0beff..b5659a62e 100644
--- a/tap-snapshots/test-lib-ls.js-TAP.test.js
+++ b/tap-snapshots/test-lib-ls.js-TAP.test.js
@@ -424,6 +424,19 @@ exports[`test/lib/ls.js TAP ls json read problems > should print empty result 1`
`
+exports[`test/lib/ls.js TAP ls loading a tree containing workspaces > should filter single workspace 1`] = `
+filter-by-child-of-missing-dep@1.0.0 {CWD}/ls-ls-loading-a-tree-containing-workspaces
+\`-- a@1.0.0 -> {CWD}/ls-ls-loading-a-tree-containing-workspaces/a
+
+`
+
+exports[`test/lib/ls.js TAP ls loading a tree containing workspaces > should list workspaces properly 1`] = `
+filter-by-child-of-missing-dep@1.0.0 {CWD}/ls-ls-loading-a-tree-containing-workspaces
++-- a@1.0.0 -> {CWD}/ls-ls-loading-a-tree-containing-workspaces/a
+\`-- b@1.0.0 -> {CWD}/ls-ls-loading-a-tree-containing-workspaces/b
+
+`
+
exports[`test/lib/ls.js TAP ls missing package.json > should log all extraneous deps on error msg 1`] = `
extraneous: bar@1.0.0 {CWD}/ls-ls-missing-package-json/node_modules/bar
extraneous: foo@1.0.0 {CWD}/ls-ls-missing-package-json/node_modules/foo