test: increase organization test timeout

This commit is contained in:
Alex Yang
2026-01-23 10:39:23 -08:00
parent 041dc17b2a
commit b230fbf419
@@ -1,7 +1,7 @@
import type { APIError } from "@better-auth/core/error";
import { memoryAdapter } from "@better-auth/memory-adapter";
import type { Prettify } from "better-call";
import { describe, expect, expectTypeOf, it } from "vitest";
import { describe, expect, expectTypeOf, it, vi } from "vitest";
import type {
BetterFetchError,
PreinitializedWritableAtom,
@@ -27,6 +27,10 @@ import type {
} from "./schema";
import type { OrganizationOptions } from "./types";
vi.setConfig({
testTimeout: 10_000,
});
describe("organization type", () => {
it("empty org type should works", () => {
expectTypeOf({} satisfies OrganizationOptions);