Files
hikari-desktop/src-tauri
hikari d41b37d9e8 test: add E2E integration tests for cross-platform notifications
Add comprehensive E2E-style integration tests for notification commands
that verify command structure without executing system APIs. This approach
enables testing cross-platform code in Linux CI environments.

Changes:
- Add 10 E2E tests for notification command structure verification
- Add helper functions to build commands for testing (Linux, Windows)
- Test command arguments, quote escaping, unicode support, edge cases
- Fix flaky frontend test by mocking console.error in config store test
- Fix lint errors (unused variables, TypeScript any types, unused imports)
- Fix TypeScript type errors in Svelte components

Test coverage:
- notifications.rs: 10 new E2E tests (command structure verification)
- All 417 backend tests passing
- All 363 frontend tests passing (no stderr output)
- 61.08% backend coverage (appropriate for architecture)

The E2E tests verify:
✓ Correct command names and arguments
✓ Proper quote escaping for PowerShell
✓ Unicode preservation across platforms
✓ Special character handling
✓ Edge case resilience (empty inputs)
✓ Cross-platform consistency

 This commit was crafted with love by Hikari~ 🌸
2026-02-07 18:25:29 -08:00
..
2026-01-28 12:51:05 -08:00
2026-01-14 20:56:28 -08:00
2026-01-14 20:56:28 -08:00
2026-02-07 01:56:47 -08:00
2026-02-07 01:56:47 -08:00