test: increase organization test timeout (#7575)

This commit is contained in:
Alex Yang
2026-01-23 18:52:56 +00:00
committed by GitHub
parent 041dc17b2a
commit 55b7ba548a
@@ -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);