Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix(test): disable placeholder reveal delay in progressive tests (#2202)

Worktrunk Botf126d7493cae
diff --git a/tests/common/progressive_output.rs b/tests/common/progressive_output.rs
index b9c1588ea..591e226c6 100644
--- a/tests/common/progressive_output.rs
+++ b/tests/common/progressive_output.rs
@@ -549,6 +549,11 @@ fn configure_pty_environment(cmd: &mut CommandBuilder, repo: &TestRepo) {
cmd.env(key, value);
}
+ // Bypass the 200ms placeholder reveal delay so tests that observe the `·`
+ // loading indicator see it on every render — otherwise fast runs finish
+ // before the deferred tick fires and dots never appear.
+ cmd.env("WORKTRUNK_PLACEHOLDER_REVEAL_MS", "0");
+
// Pass through LLVM coverage profiling environment for subprocess coverage collection.
// When running under cargo-llvm-cov, spawned binaries need LLVM_PROFILE_FILE to record
// their coverage data.