switch password generation lib #43
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.
|