diff options
author | isaacs <i@izs.me> | 2021-02-01 23:52:22 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2021-02-01 23:52:40 +0300 |
commit | 667b79adc9873519837a87224664f834f66d783e (patch) | |
tree | d47dd741cf1d77f0133ecc980fde61da4a0aa1c4 /tap-snapshots | |
parent | 0152dfcfdf11990fb7b43030b115a838443756bb (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.js | 14 |
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} ` |