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:
authorRuy Adorno <ruyadorno@hotmail.com>2021-03-29 21:38:03 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2021-03-29 21:47:48 +0300
commit4cd66972c1e1be67b2f1dd22e6d9be46e28569f3 (patch)
tree2ca33f9b58163af26fcadd437db7f0f6ef5605c6
parent4b100249a6cad67e002186816e64817313b636c7 (diff)
chore: fix smoke-tests snapshots
-rw-r--r--smoke-tests/index.js1
-rw-r--r--tap-snapshots/smoke-tests-index.js-TAP.test.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/smoke-tests/index.js b/smoke-tests/index.js
index 2c2a1b6ab..1d352c625 100644
--- a/smoke-tests/index.js
+++ b/smoke-tests/index.js
@@ -13,6 +13,7 @@ t.cleanSnapshot = s => s.split(cwd).join('{CWD}')
.replace(/\\+/g, '/')
.replace(/\r\n/g, '\n')
.replace(/\ \(in a browser\)/g, '')
+ .replace(/^npm@.*\ /mg, 'npm ')
// setup server
const registryServer = require('./server.js')
diff --git a/tap-snapshots/smoke-tests-index.js-TAP.test.js b/tap-snapshots/smoke-tests-index.js-TAP.test.js
index 932799bc5..6fabc5cc3 100644
--- a/tap-snapshots/smoke-tests-index.js-TAP.test.js
+++ b/tap-snapshots/smoke-tests-index.js-TAP.test.js
@@ -38,7 +38,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.7.5 {CWD}
+npm {CWD}
`