lokalise-file-exchange
Version:
Exchange translation files with Lokalise TMS
38 lines (34 loc) • 549 B
text/typescript
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,
};