Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(memory): update list call expectation to include preview flag

Steven Enamakel273c772de564
diff --git a/app/src/components/memory/MemoryExplorerTab.test.tsx b/app/src/components/memory/MemoryExplorerTab.test.tsx
index dcdaac4e01..75b0c5e5b6 100644
--- a/app/src/components/memory/MemoryExplorerTab.test.tsx
+++ b/app/src/components/memory/MemoryExplorerTab.test.tsx
@@ -72,7 +72,7 @@ describe('MemoryExplorerTab', () => {
expect(await screen.findByTestId('memory-explorer-item-d1')).toHaveTextContent(
'Aurora launch plan'
);
- expect(hoisted.list).toHaveBeenCalledWith({ path: [], limit: 20 });
+ expect(hoisted.list).toHaveBeenCalledWith({ path: [], limit: 20, preview: true });
expect(screen.getByTestId('memory-explorer-root')).toBeDisabled();
});