diff options
author | Gar <gar+gh@danger.computer> | 2022-03-17 21:13:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 21:13:17 +0300 |
commit | 84d19210e5604775a3a413aa32cbba2c103933f2 (patch) | |
tree | 22dd4f45527ace22f8f504b404735b3168498730 /tap-snapshots/test/lib | |
parent | 2361a68e14f893e97dad53d66fde32082e23521a (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.cjs | 17 |
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`] = ` + + +[4m[1m[32mblue[39m@[32m1.0.0[39m[22m[24m | [1m[31mProprietary[39m[22m | deps: [32mnone[39m | versions: [33m2[39m + +dist +.tarball:[36mhttp://hm.blue.com/1.0.0.tgz[39m +.shasum:[33m123[39m +.integrity:[33m---[39m +.unpackedSize:[33m1 B[39m + +dist-tags: +[1m[32mlatest[39m[22m: 1.0.0 + +published {TIME} ago[39m +` + exports[`test/lib/commands/view.js TAP should log info of package in current working dir non-specific version > must match snapshot 1`] = ` |