Skip to content

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

style(memory): prettier the memoryApi refusal test from #7013

Ghost Scripter3d23a5cdccc7
diff --git a/app/src/services/api/memoryApi.test.ts b/app/src/services/api/memoryApi.test.ts
index 62d11fe158..c0f8a8b42d 100644
--- a/app/src/services/api/memoryApi.test.ts
+++ b/app/src/services/api/memoryApi.test.ts
@@ -211,9 +211,7 @@ describe('helpers', () => {
);
// A rejected key and an engine fault keep their own message, and without
// `t` nothing changes.
- expect(memoryErrorMessage(new Error('UNAUTHORIZED: bad key'), t)).toBe(
- 'UNAUTHORIZED: bad key'
- );
+ expect(memoryErrorMessage(new Error('UNAUTHORIZED: bad key'), t)).toBe('UNAUTHORIZED: bad key');
expect(memoryErrorMessage({ message: 'boom', data: { code: 'ENGINE' } }, t)).toBe('boom');
expect(memoryErrorMessage(credits)).toBe(credits.message);
});