mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
MAESTRO: feat: add debug package sanitization unit tests (Phase 6.3)
Add comprehensive test suite for debug package sanitization utilities: - Path sanitization: home directory replacement, Windows/Unix handling, edge cases (null, undefined, numbers), special characters, spaces - API key redaction: 14+ sensitive key patterns (apiKey, authToken, password, secret, credential, accessToken, refreshToken, privateKey) with case-insensitive and naming convention support - Environment variable filtering: custom env vars/args masking, path-based env variables sanitization - Nested object and array handling for deep structures - Comprehensive integration tests ensuring no sensitive data leaks 62 tests covering all sanitization functionality.
This commit is contained in:
1041
src/main/debug-package/__tests__/sanitization.test.ts
Normal file
1041
src/main/debug-package/__tests__/sanitization.test.ts
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user