Skip to content

switch password generation lib #43

switch password generation lib

switch password generation lib #43

Triggered via pull request July 25, 2024 07:57
Status Failure
Total duration 1m 9s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/policy/Policy.test.ts > Policy > End-To-End > validate a pw against examplePolicy.yaml: src/policy/Policy.test.ts#L63
Error: Snapshot `Policy > End-To-End > validate a pw against examplePolicy.yaml 1` mismatched - Expected + Received @@ -40,27 +40,10 @@ "min": 3, "ruleType": "charPool", "totalOccurrences": 2, }, { - "chars": [ - { - "char": "#", - "occurrences": 0, - }, - { - "char": "!", - "occurrences": 0, - }, - ], - "failingBoundary": "min", - "isValid": false, - "min": 1, - "ruleType": "char", - "totalOccurrences": 0, - }, - { "blockedSubstrings": undefined, "isValid": true, "ruleType": "blocklist", "substringMatch": true, }, ❯ createMismatchError node_modules/.store/@vitest-snapshot-npm-1.6.0-b7ed094dc8/package/dist/index.js:1420:17 ❯ SnapshotClient.assert node_modules/.store/@vitest-snapshot-npm-1.6.0-b7ed094dc8/package/dist/index.js:1517:13 ❯ Proxy.__INLINE_SNAPSHOT__ node_modules/.store/vitest-virtual-d7e713a12a/package/dist/vendor/vi.YFlodzP_.js:290:27 ❯ Proxy.methodWrapper node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addMethod.js:57:25 ❯ src/policy/Policy.test.ts:63:28 ❯ node_modules/.store/@vitest-runner-npm-1.6.0-347d69d63d/package/dist/index.js:135:14 ❯ node_modules/.store/@vitest-runner-npm-1.6.0-347d69d63d/package/dist/index.js:60:26 ❯ runTest node_modules/.store/@vitest-runner-npm-1.6.0-347d69d63d/package/dist/index.js:781:17 ❯ runSuite node_modules/.store/@vitest-runner-npm-1.6.0-347d69d63d/package/dist/index.js:909:15 ❯ runSuite node_modules/.store/@vitest-runner-npm-1.6.0-347d69d63d/package/dist/index.js:909:15
test
Process completed with exit code 1.