Skip to content

Add integration tests for voice flags and validation, enhance keystor…#19

Merged
Avicted merged 1 commit intomainfrom
feature/voice-daemon
Feb 13, 2026
Merged

Add integration tests for voice flags and validation, enhance keystor…#19
Avicted merged 1 commit intomainfrom
feature/voice-daemon

Conversation

@Avicted
Copy link
Owner

@Avicted Avicted commented Feb 13, 2026

…e tests, and improve login model functionality

  • Implemented TestRunVoiceFlagsApplied to verify correct application of voice-related flags in the run function.
  • Added TestRunVoiceFlagValidation to ensure proper validation of voice flags, including voice-vad and voice-ptt-backend.
  • Enhanced keystore tests with migration checks for legacy plaintext keys and validation for directory keys.
  • Added tests to ensure passphrase requirements for saving key pairs and directory keys.
  • Improved error handling in decryptKeystoreJSON for invalid KDF parameters and JSON formats.
  • Expanded login model tests to cover additional branches, focus handling, and validation of registration requirements.
  • Verified rendering of register selection in the login view.

…e tests, and improve login model functionality

- Implemented `TestRunVoiceFlagsApplied` to verify correct application of voice-related flags in the `run` function.
- Added `TestRunVoiceFlagValidation` to ensure proper validation of voice flags, including `voice-vad` and `voice-ptt-backend`.
- Enhanced keystore tests with migration checks for legacy plaintext keys and validation for directory keys.
- Added tests to ensure passphrase requirements for saving key pairs and directory keys.
- Improved error handling in `decryptKeystoreJSON` for invalid KDF parameters and JSON formats.
- Expanded login model tests to cover additional branches, focus handling, and validation of registration requirements.
- Verified rendering of register selection in the login view.
@Avicted Avicted merged commit 6030201 into main Feb 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant