diff --git a/packages/ai/test/remote-auth-store.test.ts b/packages/ai/test/remote-auth-store.test.ts index 7e0699451..58384376c 100644 --- a/packages/ai/test/remote-auth-store.test.ts +++ b/packages/ai/test/remote-auth-store.test.ts @@ -223,9 +223,7 @@ describe("RemoteAuthCredentialStore + AuthStorage integration", () => { }, }); - const fetchSpy = vi - .spyOn(brokerClient, "fetchUsage") - .mockRejectedValue(new Error("broker offline")); + const fetchSpy = vi.spyOn(brokerClient, "fetchUsage").mockRejectedValue(new Error("broker offline")); const nowSpy = vi.spyOn(Date, "now"); nowSpy.mockReturnValue(1_000_000);