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(ObsidianVaultSection): correct test assertion for empty vault state
Steven Enamakelff98eebe491d
diff --git a/app/src/components/intelligence/__tests__/ObsidianVaultSection.test.tsx b/app/src/components/intelligence/__tests__/ObsidianVaultSection.test.tsxindex 5934a975c4..5d98bfc4ee 100644--- a/app/src/components/intelligence/__tests__/ObsidianVaultSection.test.tsx+++ b/app/src/components/intelligence/__tests__/ObsidianVaultSection.test.tsx@@ -126,7 +126,10 @@ describe('ObsidianVaultSection', () => {fireEvent.click(screen.getByTestId('memory-open-in-obsidian'));await screen.findByTestId('obsidian-vault-guidance');- fireEvent.mouseDown(document.body);+ // 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.+ fireEvent.pointerDown(document.body, { pointerId: 1 });await waitFor(() => expect(screen.queryByTestId('obsidian-vault-guidance')).toBeNull());});