Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
simplify: assert prepend order (not just existence) in Catalog create test
[._.]/ Adam Eivy32794cb01348
diff --git a/client/src/pages/Catalog.test.jsx b/client/src/pages/Catalog.test.jsxindex c5ea13b635..57ea8c6794 100644--- a/client/src/pages/Catalog.test.jsx+++ b/client/src/pages/Catalog.test.jsx@@ -98,6 +98,11 @@ describe('Catalog page', () => {{ silent: true },);await waitFor(() => expect(screen.getByText('New Idea')).toBeTruthy());+ // Assert the PREPEND contract (not just existence): the new card must+ // render before the pre-existing "Echo Saint" card in document order.+ const newEl = screen.getByText('New Idea');+ const echoEl = screen.getByText('Echo Saint');+ expect(newEl.compareDocumentPosition(echoEl) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();expect(toast.success).toHaveBeenCalled();});