Skip to content

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

test(coreStateApi): add missing test for state retrieval endpoint

Steven Enamakel7829c6216083
diff --git a/app/src/services/coreStateApi.test.ts b/app/src/services/coreStateApi.test.ts
index 7ef1d8fb6a..26d1c67a21 100644
--- a/app/src/services/coreStateApi.test.ts
+++ b/app/src/services/coreStateApi.test.ts
@@ -76,6 +76,7 @@ function makeInvite(id: string) {
describe('coreStateApi.fetchCoreAppSnapshot', () => {
beforeEach(() => {
mockCallCoreRpc.mockReset();
+ mockFetchCurrentUser.mockReset();
});
it('calls the correct RPC method with the slow-snapshot timeout override (#2156)', async () => {