-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: get new way to mock logs working in tests
- Loading branch information
1 parent
f97b196
commit d162325
Showing
55 changed files
with
1,761 additions
and
2,732 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,6 @@ exports[`test/lib/commands/audit.js TAP audit signatures ignores optional depend | |
audited 1 package in xxx | ||
1 package has a verified registry signature | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures json output with invalid and missing signatures > must match snapshot 1`] = ` | ||
|
@@ -131,14 +130,12 @@ exports[`test/lib/commands/audit.js TAP audit signatures multiple registries wit | |
audited 2 packages in xxx | ||
2 packages have verified registry signatures | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures omit dev dependencies with missing signature > must match snapshot 1`] = ` | ||
audited 1 package in xxx | ||
1 package has a verified registry signature | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures output details about missing signatures > must match snapshot 1`] = ` | ||
|
@@ -157,7 +154,6 @@ audited 1 package in xxx | |
@npmcli/[email protected] (https://verdaccio-clone.org/) | ||
Someone might have tampered with this package since it was published on the registry! | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures third-party registry with keys and missing signatures errors > must match snapshot 1`] = ` | ||
|
@@ -172,21 +168,18 @@ exports[`test/lib/commands/audit.js TAP audit signatures third-party registry wi | |
audited 1 package in xxx | ||
1 package has a verified registry signature | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures third-party registry with sub-path (trailing slash) > must match snapshot 1`] = ` | ||
audited 1 package in xxx | ||
1 package has a verified registry signature | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures third-party registry with sub-path > must match snapshot 1`] = ` | ||
audited 1 package in xxx | ||
1 package has a verified registry signature | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures with both invalid and missing signatures > must match snapshot 1`] = ` | ||
|
@@ -201,14 +194,12 @@ [email protected] (https://registry.npmjs.org/) | |
[email protected] (https://registry.npmjs.org/) | ||
Someone might have tampered with this package since it was published on the registry! | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures with bundled and peer deps and no signatures > must match snapshot 1`] = ` | ||
audited 1 package in xxx | ||
1 package has a verified registry signature | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures with invalid attestations > must match snapshot 1`] = ` | ||
|
@@ -219,7 +210,6 @@ audited 1 package in xxx | |
[email protected] (https://registry.npmjs.org/) | ||
Someone might have tampered with this package since it was published on the registry! | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures with invalid signatures > must match snapshot 1`] = ` | ||
|
@@ -230,7 +220,6 @@ audited 1 package in xxx | |
[email protected] (https://registry.npmjs.org/) | ||
Someone might have tampered with this package since it was published on the registry! | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures with invalid signtaures and color output enabled > must match snapshot 1`] = ` | ||
|
@@ -241,14 +230,12 @@ audited 1 package in xxx | |
[[email protected][39m (https://registry.npmjs.org/) | ||
Someone might have tampered with this package since it was published on the registry! | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures with key fallback to legacy API > must match snapshot 1`] = ` | ||
audited 1 package in xxx | ||
1 package has a verified registry signature | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures with keys but missing signature > must match snapshot 1`] = ` | ||
|
@@ -268,7 +255,6 @@ [email protected] (https://registry.npmjs.org/) | |
[email protected] (https://registry.npmjs.org/) | ||
Someone might have tampered with these packages since they were published on the registry! | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures with multiple invalid signatures > must match snapshot 1`] = ` | ||
|
@@ -280,7 +266,6 @@ [email protected] (https://registry.npmjs.org/) | |
[email protected] (https://registry.npmjs.org/) | ||
Someone might have tampered with these packages since they were published on the registry! | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures with multiple missing signatures > must match snapshot 1`] = ` | ||
|
@@ -302,7 +287,6 @@ audited 3 packages in xxx | |
[email protected] (https://registry.npmjs.org/) | ||
Someone might have tampered with this package since it was published on the registry! | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures with valid and missing signatures > must match snapshot 1`] = ` | ||
|
@@ -321,35 +305,30 @@ audited 1 package in xxx | |
1 package has a verified registry signature | ||
1 package has a verified attestation | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures with valid signatures > must match snapshot 1`] = ` | ||
audited 1 package in xxx | ||
1 package has a verified registry signature | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures with valid signatures using alias > must match snapshot 1`] = ` | ||
audited 1 package in xxx | ||
1 package has a verified registry signature | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures workspaces verifies registry deps and ignores local workspace deps > must match snapshot 1`] = ` | ||
audited 3 packages in xxx | ||
3 packages have verified registry signatures | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP audit signatures workspaces verifies registry deps when filtering by workspace name > must match snapshot 1`] = ` | ||
audited 2 packages in xxx | ||
2 packages have verified registry signatures | ||
` | ||
|
||
exports[`test/lib/commands/audit.js TAP fallback audit > must match snapshot 1`] = ` | ||
|
Oops, something went wrong.