hkfires
811f8f8b4f
test(watcher): add comprehensive unit tests for watcher edge cases
Add extensive test coverage for watcher module including:
- Auth file handling for empty and missing files
- Persist async error paths and nil receiver handling
- Dispatch loop context cancellation scenarios
- Event processing for errors and channel closures
- Handle event cases: unrelated files, config changes, auth writes,
remove debouncing, atomic replace detection
- Normalize auth path and debounce cleanup logic
- Runtime auth dispatch and refresh state
- Config reload with mirrored auth dir and OAuth provider filtering
- Start failure when auth dir is missing
- Auth equality comparison ignoring temporal fields
- Reload clients filtering without full rescan
2025-12-17 16:29:11 +08:00
..
2025-10-26 07:46:04 +08:00
2025-12-17 01:48:11 +08:00
2025-12-12 19:57:19 +08:00
2025-09-26 00:54:52 +08:00
2025-11-13 08:38:03 +08:00
2025-12-12 19:57:19 +08:00
2025-12-17 01:07:26 +08:00
2025-11-21 23:40:59 +08:00
2025-12-07 13:19:12 +08:00
2025-12-08 18:18:33 +08:00
2025-12-16 13:09:26 +08:00
2025-12-12 04:08:11 +08:00
2025-12-16 18:34:43 +08:00
2025-12-16 18:34:43 +08:00
2025-10-15 11:47:35 +08:00
2025-12-17 14:53:52 +08:00
2025-11-19 22:02:40 +08:00
2025-12-16 18:34:43 +08:00
2025-12-17 16:29:11 +08:00
2025-10-26 20:01:46 +08:00