diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2021-03-29 21:38:03 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2021-03-29 21:47:48 +0300 |
commit | 4cd66972c1e1be67b2f1dd22e6d9be46e28569f3 (patch) | |
tree | 2ca33f9b58163af26fcadd437db7f0f6ef5605c6 | |
parent | 4b100249a6cad67e002186816e64817313b636c7 (diff) |
chore: fix smoke-tests snapshots
-rw-r--r-- | smoke-tests/index.js | 1 | ||||
-rw-r--r-- | tap-snapshots/smoke-tests-index.js-TAP.test.js | 2 |
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} ` |