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:
authorisaacs <i@izs.me>2021-02-01 23:52:22 +0300
committerisaacs <i@izs.me>2021-02-01 23:52:40 +0300
commit667b79adc9873519837a87224664f834f66d783e (patch)
treed47dd741cf1d77f0133ecc980fde61da4a0aa1c4 /tap-snapshots
parent0152dfcfdf11990fb7b43030b115a838443756bb (diff)
test: do not depend on npm.version in usage test
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js b/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js
index 72c2c8158..ced8d1a05 100644
--- a/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js
+++ b/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js
@@ -37,7 +37,7 @@ or on the command line via: npm <command> --key=value
More configuration info: npm help config
Configuration fields: npm help 7 config
-npm@7.99.9999 {BASEDIR}
+npm@{VERSION} {BASEDIR}
`
@@ -73,7 +73,7 @@ or on the command line via: npm <command> --key=value
More configuration info: npm help config
Configuration fields: npm help 7 config
-npm@7.99.9999 {BASEDIR}
+npm@{VERSION} {BASEDIR}
`
@@ -116,7 +116,7 @@ or on the command line via: npm <command> --key=value
More configuration info: npm help config
Configuration fields: npm help 7 config
-npm@7.99.9999 {BASEDIR}
+npm@{VERSION} {BASEDIR}
`
@@ -152,7 +152,7 @@ or on the command line via: npm <command> --key=value
More configuration info: npm help config
Configuration fields: npm help 7 config
-npm@7.99.9999 {BASEDIR}
+npm@{VERSION} {BASEDIR}
`
@@ -188,7 +188,7 @@ or on the command line via: npm <command> --key=value
More configuration info: npm help config
Configuration fields: npm help 7 config
-npm@7.99.9999 {BASEDIR}
+npm@{VERSION} {BASEDIR}
`
@@ -470,7 +470,7 @@ All commands:
version npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease [--preid=<prerelease-id>] | from-git]
(run in package dir)
- 'npm -v' or 'npm --version' to print npm version (7.5.0)
+ 'npm -v' or 'npm --version' to print npm version ({VERSION})
'npm view <pkg> version' to view a package's published version
'npm ls' to inspect current package/dependency versions
@@ -490,6 +490,6 @@ or on the command line via: npm <command> --key=value
More configuration info: npm help config
Configuration fields: npm help 7 config
-npm@7.99.9999 {BASEDIR}
+npm@{VERSION} {BASEDIR}
`