import { env } from "cloudflare:test"; /** Should only be used when it doesn't make sense for 'Bindings' or 'Variables' to be set. Otherwise, use getTestEnv(). */ export function getTestEnvVariables(): Cloudflare.Env { return getTestEnv(); } export function getTestEnv({ ADMIN_SDK_JSON = '{"client_email": "test@test.com", "project_id": "test-26g38"}', LOG_DB_QUERIES = "false", }: Partial = {}): Cloudflare.Env { return { ...env, ADMIN_SDK_JSON, LOG_DB_QUERIES, }; }