mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 04:19:20 +00:00
chore: fix tests
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
"format": "biome format . --write",
|
"format": "biome format . --write",
|
||||||
"lint": "biome check .",
|
"lint": "biome check .",
|
||||||
"lint:fix": "biome check . --apply",
|
"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: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",
|
"release:beta": "turbo --filter \"./packages/*\" build && bumpp && pnpm -r publish --access public --tag next --no-git-checks",
|
||||||
"test": "turbo --filter \"./packages/*\" test",
|
"test": "turbo --filter \"./packages/*\" test",
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ describe("sign-up with custom fields", async (it) => {
|
|||||||
it("should infer the correct types", async () => {
|
it("should infer the correct types", async () => {
|
||||||
const user = await auth.api.signUpEmail({
|
const user = await auth.api.signUpEmail({
|
||||||
body: {
|
body: {
|
||||||
email: "email@test.com",
|
email: "email2@test.com",
|
||||||
password: "password",
|
password: "password",
|
||||||
name: "name",
|
name: "name",
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
|
|||||||
Reference in New Issue
Block a user