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:
authorGar <gar+gh@danger.computer>2022-04-02 03:48:22 +0300
committerGar <wraithgar@github.com>2022-04-04 21:35:15 +0300
commitde4de302e3562721ed2d6410182d493c36974e37 (patch)
treee5846a3c3f2675a737791f31d2c33a0efcf0a93d /tap-snapshots
parentedbd884f6a1f077c7b4e1b7127b0a0f14ae065a0 (diff)
chore: remove mocks from completion tests
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test/lib/commands/audit.js.test.cjs31
1 files changed, 30 insertions, 1 deletions
diff --git a/tap-snapshots/test/lib/commands/audit.js.test.cjs b/tap-snapshots/test/lib/commands/audit.js.test.cjs
index 1f8e2e6c7..f8cee6112 100644
--- a/tap-snapshots/test/lib/commands/audit.js.test.cjs
+++ b/tap-snapshots/test/lib/commands/audit.js.test.cjs
@@ -5,9 +5,38 @@
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
+exports[`test/lib/commands/audit.js TAP audit fix > lockfile has test-dep-a@1.0.1 1`] = `
+{
+ "name": "test-dep",
+ "version": "1.0.0",
+ "lockfileVersion": 2,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "test-dep",
+ "version": "1.0.0",
+ "dependencies": {
+ "test-dep-a": "*"
+ }
+ },
+ "node_modules/test-dep-a": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/test-dep-a/-/test-dep-a-1.0.1.tgz"
+ }
+ },
+ "dependencies": {
+ "test-dep-a": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/test-dep-a/-/test-dep-a-1.0.1.tgz"
+ }
+ }
+}
+
+`
+
exports[`test/lib/commands/audit.js TAP audit fix > must match snapshot 1`] = `
-added 1 package, and audited 2 packages in 120ms
+added 1 package, and audited 2 packages in xxx
found 0 vulnerabilities
`