diff --git a/smoke-tests/index.js b/smoke-tests/index.js index 2c2a1b6ab9543..1d352c62550db 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 932799bc5a47b..6fabc5cc30038 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 --key=value More configuration info: npm help config Configuration fields: npm help 7 config -npm@7.7.5 {CWD} +npm {CWD} `