From ccf48da4bfd5229376509f892c2eb3c67bf4920f Mon Sep 17 00:00:00 2001 From: Bereket Engida Date: Tue, 22 Oct 2024 08:47:35 +0300 Subject: [PATCH] chore: fix tests --- package.json | 2 +- packages/better-auth/src/api/routes/sign-up.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 30d7b50f..2f564784 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "format": "biome format . --write", "lint": "biome check .", "lint:fix": "biome check . --apply", - "release": "turbo --filter \"./packages/*\" build && bumpp && pnpm -r publish --access public --no-git-checks", + "release": "turbo --filter \"./packages/*\" typecheck && build && bumpp && pnpm -r publish --access public --no-git-checks", "release:no-build": "bumpp && pnpm -r publish --access public --no-git-checks", "release:beta": "turbo --filter \"./packages/*\" build && bumpp && pnpm -r publish --access public --tag next --no-git-checks", "test": "turbo --filter \"./packages/*\" test", diff --git a/packages/better-auth/src/api/routes/sign-up.test.ts b/packages/better-auth/src/api/routes/sign-up.test.ts index 2da98496..1284cf8d 100644 --- a/packages/better-auth/src/api/routes/sign-up.test.ts +++ b/packages/better-auth/src/api/routes/sign-up.test.ts @@ -59,7 +59,7 @@ describe("sign-up with custom fields", async (it) => { it("should infer the correct types", async () => { const user = await auth.api.signUpEmail({ body: { - email: "email@test.com", + email: "email2@test.com", password: "password", name: "name", // @ts-expect-error