aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs
index cd402460..f32d7785 100644
--- a/src/app/mod.rs
+++ b/src/app/mod.rs
@@ -497,7 +497,12 @@ impl App {
state::Mode::Navigate
};
+ #[cfg(not(test))]
let agent_manifest_summaries = crate::detect::manifest::reload_manifests();
+ // Nextest runs each unit test in a fresh process. Manifest-sensitive tests reload
+ // explicitly; unrelated App tests should not recompile every bundled regex.
+ #[cfg(test)]
+ let agent_manifest_summaries = Vec::new();
let theme_runtime = theme_runtime_config(config, true);
let (theme_palette, theme_name) = resolve_effective_theme(&theme_runtime, None);