You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: enhance AuthController and AuthService unit tests with additional mocks
- Added mocks for getLocalBruteforceBlock and hasWebAuthnKeyForUser in AuthController tests to improve test coverage and behavior clarity.
- Introduced redisTtl and redisIncr mocks in AuthService tests to simulate Redis interactions, enhancing the reliability of unit tests.
- Updated beforeEach hooks to set default return values for new mocks, ensuring consistent test environments.
0 commit comments