From 0cd4ecc36dc564c7105866b4a3fe64911984429d Mon Sep 17 00:00:00 2001 From: Jonathan Samines Date: Fri, 21 Nov 2025 14:37:26 -0600 Subject: [PATCH] chore: update test descriptions to avoid confusions --- packages/better-auth/src/client/client.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/better-auth/src/client/client.test.ts b/packages/better-auth/src/client/client.test.ts index 6253fdbd71..7b8eac3d32 100644 --- a/packages/better-auth/src/client/client.test.ts +++ b/packages/better-auth/src/client/client.test.ts @@ -139,7 +139,7 @@ describe("run time proxy", async () => { }); describe("type", () => { - it("should not infer virtual endpoints", () => { + it("should not infer http or server scoped endpoints", () => { const client = createReactClient({ plugins: [testClientPlugin()], baseURL: "http://localhost:3000", @@ -152,7 +152,6 @@ describe("type", () => { expectTypeOf().not.toHaveProperty("testServerScoped"); expectTypeOf().not.toHaveProperty("testHttpScoped"); - expectTypeOf().not.toMatchObjectType<{ test: any }>(); }); it("should infer session additional fields", () => { const client = createReactClient({