diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2020-09-01 21:29:47 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2020-09-01 22:05:41 +0300 |
commit | e97ba6e5b26a4ae94bfd3c673b71305596e8fc81 (patch) | |
tree | c160740251623b94352d336f391809544f050078 /tap-snapshots | |
parent | 0e9687e4c93f82228919bbe97c85bae085dd2679 (diff) |
fix: npm ls extraneous workspaces
Diffstat (limited to 'tap-snapshots')
-rw-r--r-- | tap-snapshots/test-lib-ls.js-TAP.test.js | 13 |
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 |