UNPKG

lokalise-file-exchange

Version:
38 lines (34 loc) 549 B
import { existsSync } from "node:fs"; import { loadEnvFile } from "node:process"; if (existsSync(".env")) { loadEnvFile(); } import { MockAgent, setGlobalDispatcher } from "undici"; import type { Interceptable, MockInterceptor, } from "undici/types/mock-interceptor.js"; import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, vi, } from "vitest"; export { describe, expect, it, MockAgent, setGlobalDispatcher, beforeEach, afterEach, beforeAll, afterAll, vi, type Interceptable, type MockInterceptor, };