Skip to content

The agent that grows with you

test(desktop): assert the isDisabled flip-back actually notifies

kshitij49f3e67e4530
diff --git a/apps/desktop/src/lib/incremental-runtime-adapter-notify.test.ts b/apps/desktop/src/lib/incremental-runtime-adapter-notify.test.ts
index 2fdcd73d76f..6e990b7bc04 100644
--- a/apps/desktop/src/lib/incremental-runtime-adapter-notify.test.ts
+++ b/apps/desktop/src/lib/incremental-runtime-adapter-notify.test.ts
@@ -130,7 +130,11 @@ describe('IncrementalExternalStoreThreadRuntimeCore adapter swap notifications',
expect(notifications).toBeGreaterThan(0)
// And flipping back also notifies — but an unchanged repeat stays silent.
+ const beforeFlipBack = notifications
core.setAdapter(adapterWith(repo, { isDisabled: false }))
+
+ expect(notifications).toBeGreaterThan(beforeFlipBack)
+
const afterFlipBack = notifications
core.setAdapter(adapterWith(repo, { isDisabled: false }))