Skip to content

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

chore: apply prettier auto-fixes

shanua279742cb7b7
diff --git a/app/src/providers/CoreStateProvider.tsx b/app/src/providers/CoreStateProvider.tsx
index 11ccbe2072..228b5cde88 100644
--- a/app/src/providers/CoreStateProvider.tsx
+++ b/app/src/providers/CoreStateProvider.tsx
@@ -815,7 +815,11 @@ export default function CoreStateProvider({ children }: { children: ReactNode })
// snapshot lands. Without this the event is lost: signed_out=true prevents
// re-publication, leaving the user stuck in the chat shell forever.
pendingConfirmedReauthRef.current = true;
- log('auth-expired queued for post-bootstrap replay (method=%s source=%s)', method, source);
+ log(
+ 'auth-expired queued for post-bootstrap replay (method=%s source=%s)',
+ method,
+ source
+ );
} else {
log('auth-expired suppressed during bootstrap (method=%s source=%s)', method, source);
}
diff --git a/app/src/providers/__tests__/CoreStateProvider.test.tsx b/app/src/providers/__tests__/CoreStateProvider.test.tsx
index 20f5514dd5..ae6308e848 100644
--- a/app/src/providers/__tests__/CoreStateProvider.test.tsx
+++ b/app/src/providers/__tests__/CoreStateProvider.test.tsx
@@ -995,9 +995,7 @@ describe('session expiry fixes (#5868)', () => {
// Even though logout threw, refresh must still have fired and the snapshot
// should now show signed-out state.
- await waitFor(() =>
- expect(screen.getByTestId('token').textContent).toBe('none')
- );
+ await waitFor(() => expect(screen.getByTestId('token').textContent).toBe('none'));
});
it('confirmed session-expiry during bootstrap is replayed after the first snapshot lands (#5868)', async () => {
@@ -1006,9 +1004,14 @@ describe('session expiry fixes (#5868)', () => {
setCoreStateSnapshot({ ...getCoreStateSnapshot(), isBootstrapping: true, isReady: false });
// Hold the first snapshot until we control the release.
- let resolveSnapshot!: (v: Awaited<ReturnType<typeof coreStateApi.fetchCoreAppSnapshot>>) => void;
+ let resolveSnapshot!: (
+ v: Awaited<ReturnType<typeof coreStateApi.fetchCoreAppSnapshot>>
+ ) => void;
vi.mocked(coreStateApi.fetchCoreAppSnapshot).mockImplementation(
- () => new Promise(res => { resolveSnapshot = res; })
+ () =>
+ new Promise(res => {
+ resolveSnapshot = res;
+ })
);
vi.mocked(tauriCommands.logout).mockReset();
vi.mocked(tauriCommands.logout).mockResolvedValue(undefined as never);