The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(test): update ObsidianVaultSection test to reflect new vault path
Steven Enamakel744887bfb100
diff --git a/app/src/components/intelligence/__tests__/ObsidianVaultSection.test.tsx b/app/src/components/intelligence/__tests__/ObsidianVaultSection.test.tsxindex 5d98bfc4ee..14746fd550 100644--- a/app/src/components/intelligence/__tests__/ObsidianVaultSection.test.tsx+++ b/app/src/components/intelligence/__tests__/ObsidianVaultSection.test.tsx@@ -128,7 +128,12 @@ describe('ObsidianVaultSection', () => {await screen.findByTestId('obsidian-vault-guidance');// Radix's dismissable layer listens for `pointerdown`, not `mousedown` —// this drives the same outside-click dismissal the old hand-rolled- // listener did, just via the event Radix actually listens for.+ // listener did, just via the event Radix actually listens for. Radix also+ // defers attaching that listener by a `setTimeout(0)` (so the pointerdown+ // that opened the popover doesn't immediately close it again) — flush that+ // macrotask before dispatching, or the outside click fires before Radix is+ // listening at all.+ await new Promise(resolve => setTimeout(resolve, 0));fireEvent.pointerDown(document.body, { pointerId: 1 });await waitFor(() => expect(screen.queryByTestId('obsidian-vault-guidance')).toBeNull());