tachybase_todo/packages/core/test/vitest.d.ts
2024-06-13 15:56:43 +08:00

25 lines
948 B
TypeScript

import { type UserConfig } from 'vitest/config';
declare global {
const suite: (typeof import('vitest'))['suite'];
const test: (typeof import('vitest'))['test'];
const describe: (typeof import('vitest'))['describe'];
const it: (typeof import('vitest'))['it'];
const expectTypeOf: (typeof import('vitest'))['expectTypeOf'];
const assertType: (typeof import('vitest'))['assertType'];
const expect: (typeof import('vitest'))['expect'];
const assert: (typeof import('vitest'))['assert'];
const vitest: (typeof import('vitest'))['vitest'];
const vi: (typeof import('vitest'))['vitest'];
const beforeAll: (typeof import('vitest'))['beforeAll'];
const afterAll: (typeof import('vitest'))['afterAll'];
const beforeEach: (typeof import('vitest'))['beforeEach'];
const afterEach: (typeof import('vitest'))['afterEach'];
}
export declare const defineConfig: (
config?: UserConfig & {
server: boolean;
},
) => UserConfig;