aboutsummaryrefslogtreecommitdiff
path: root/src/integration/tests.rs
diff options
context:
space:
mode:
authorRhys <105699450+rhjoh@users.noreply.github.com>2026-08-03 10:44:44 +1000
committerGitHub <noreply@github.com>2026-08-03 03:44:44 +0300
commit5eab32da81b403c2a277222ab97417a8bf90c35f (patch)
tree73cfbad865e949e48ea93b4bd58d482b2806e447 /src/integration/tests.rs
parent10eb0bc744165ae91dfce9fd731fe170410b34ec (diff)
fix(pi): restrict state reporting to tui sessions (#2159)
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
Diffstat (limited to 'src/integration/tests.rs')
-rw-r--r--src/integration/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/integration/tests.rs b/src/integration/tests.rs
index 7abf7be2..6827dae7 100644
--- a/src/integration/tests.rs
+++ b/src/integration/tests.rs
@@ -2665,7 +2665,7 @@ fn bundled_integration_asset_versions_match_expected_versions() {
fn bundled_integration_assets_report_session_refs() {
assert!(PI_EXTENSION_ASSET.contains("agent_session_path"));
assert!(PI_EXTENSION_ASSET.contains("agent_session_id"));
- assert!(PI_EXTENSION_ASSET.contains("ctx?.hasUI !== true"));
+ assert!(PI_EXTENSION_ASSET.contains("ctx?.mode !== \"tui\""));
assert!(PI_EXTENSION_ASSET.contains("pane.report_agent_session"));
assert!(PI_EXTENSION_ASSET.contains("pane.report_agent\""));
assert!(PI_EXTENSION_ASSET.contains("pi.on(\"agent_start\""));