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:
authorGar <gar+gh@danger.computer>2022-03-17 21:13:17 +0300
committerGitHub <noreply@github.com>2022-03-17 21:13:17 +0300
commit84d19210e5604775a3a413aa32cbba2c103933f2 (patch)
tree22dd4f45527ace22f8f504b404735b3168498730 /tap-snapshots/test/lib
parent2361a68e14f893e97dad53d66fde32082e23521a (diff)
fix: properly show `npm view ./directory` (#4576)
Diffstat (limited to 'tap-snapshots/test/lib')
-rw-r--r--tap-snapshots/test/lib/commands/view.js.test.cjs17
1 files changed, 17 insertions, 0 deletions
diff --git a/tap-snapshots/test/lib/commands/view.js.test.cjs b/tap-snapshots/test/lib/commands/view.js.test.cjs
index 72d09b44e..229a9d323 100644
--- a/tap-snapshots/test/lib/commands/view.js.test.cjs
+++ b/tap-snapshots/test/lib/commands/view.js.test.cjs
@@ -68,6 +68,23 @@ yellow@1.0.1 'claudia'
yellow@1.0.2 'claudia'
`
+exports[`test/lib/commands/view.js TAP should log info of package in current working dir directory > must match snapshot 1`] = `
+
+
+blue@1.0.0 | Proprietary | deps: none | versions: 2
+
+dist
+.tarball:http://hm.blue.com/1.0.0.tgz
+.shasum:123
+.integrity:---
+.unpackedSize:1 B
+
+dist-tags:
+latest: 1.0.0
+
+published {TIME} ago
+`
+
exports[`test/lib/commands/view.js TAP should log info of package in current working dir non-specific version > must match snapshot 1`] = `