Skip to content

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

test(Memory.test.tsx): add tests for memory page component

Steven Enamakela71933329af1
diff --git a/app/src/pages/__tests__/Memory.test.tsx b/app/src/pages/__tests__/Memory.test.tsx
index 0d84ade3e9..6294876b28 100644
--- a/app/src/pages/__tests__/Memory.test.tsx
+++ b/app/src/pages/__tests__/Memory.test.tsx
@@ -72,10 +72,12 @@ function renderAt(search: string) {
beforeEach(() => {
hoisted.engineGet.mockReset().mockResolvedValue(ON);
- hoisted.enginesList.mockReset().mockResolvedValue({
- engines: [{ id: 'tinyhumans', label: 'TinyHumans' }],
- active: 'tinyhumans',
- });
+ hoisted.enginesList
+ .mockReset()
+ .mockResolvedValue({
+ engines: [{ id: 'tinyhumans', label: 'TinyHumans' }],
+ active: 'tinyhumans',
+ });
});
describe('Memory page', () => {