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>2020-10-29 22:39:51 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2020-10-30 20:46:08 +0300
commit3109d36f651063f771b6735e89a3db5850f1d1b5 (patch)
treed5bfb4a30c2ee6a2f9dc2f47ba279e8066f62023 /tap-snapshots
parente34f975182aec3d2a86f3cf28b8d5ecfb30690ee (diff)
test: add tests for test/lib/utils/replace-info.js
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test-lib-utils-error-message.js-TAP.test.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/tap-snapshots/test-lib-utils-error-message.js-TAP.test.js b/tap-snapshots/test-lib-utils-error-message.js-TAP.test.js
index 21fff0b87..bcf514449 100644
--- a/tap-snapshots/test-lib-utils-error-message.js-TAP.test.js
+++ b/tap-snapshots/test-lib-utils-error-message.js-TAP.test.js
@@ -1209,6 +1209,18 @@ Object {
}
`
+exports[`test/lib/utils/error-message.js TAP replace message/stack sensistive info > must match snapshot 1`] = `
+Object {
+ "detail": Array [],
+ "summary": Array [
+ Array [
+ "audit",
+ "Error at registry: https://user:***@registry.npmjs.org/",
+ ],
+ ],
+}
+`
+
exports[`v TAP json parse json somewhere else > must match snapshot 1`] = `
Object {
"detail": Array [