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({