feat(e2e): add test mode infrastructure with BTERMINAL_TEST env isolation

Rust: watcher.rs/fs_watcher.rs skip watchers in test mode,
is_test_mode Tauri command. Frontend: wake-scheduler disable,
App.svelte test mode detection. AppConfig centralization in
bterminal-core (OnceLock pattern for path overrides).
This commit is contained in:
Hibryda 2026-03-12 02:52:14 +01:00 committed by DexterFromLab
parent 01c8ab8b3e
commit 4b86065163
18 changed files with 346 additions and 29 deletions

View file

@ -96,7 +96,10 @@ async fn main() {
}
search_paths.push(std::path::PathBuf::from("sidecar"));
let sidecar_config = SidecarConfig { search_paths };
let sidecar_config = SidecarConfig {
search_paths,
env_overrides: std::collections::HashMap::new(),
};
let token = Arc::new(cli.token);
// Rate limiting state for auth failures