cms.c2sgmbh/tests/unit/security
Martin Porwoll 1f62563922 fix: clear console mocks between tests in data-masking spec
The test was failing because mock.calls[0] was getting calls
from the previous test. Added mockClear() in beforeEach to
ensure each test starts with fresh mock state.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 10:45:19 +00:00
..
csrf.unit.spec.ts docs: consolidate and update documentation 2025-12-09 09:25:00 +00:00
data-masking.unit.spec.ts fix: clear console mocks between tests in data-masking spec 2025-12-15 10:45:19 +00:00
ip-allowlist.unit.spec.ts feat: comprehensive security test suite 2025-12-08 00:20:47 +00:00
rate-limiter.unit.spec.ts revert: downgrade to Next.js 15.5.9 for Payload compatibility 2025-12-15 10:07:39 +00:00