pezkuwichain
|
56af709e8d
|
Add comprehensive test infrastructure and Dark Mode tests
- Created test folder structure (__tests__, __mocks__)
- Added mock contexts (Theme, BiometricAuth, Auth)
- Added mock AsyncStorage
- Implemented 11 passing Dark Mode tests:
* Rendering tests (3 tests)
* Toggle functionality tests (2 tests)
* Persistence tests (2 tests)
* Theme application tests (2 tests)
* Edge case tests (2 tests)
- Added testID props to SettingsScreen components
- All tests passing (11/11)
Test Coverage:
- Dark Mode toggle on/off
- AsyncStorage persistence
- Theme color application
- Rapid toggle handling
- Multiple toggle calls
|
2026-01-14 16:09:23 +03:00 |
|