You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.8 KiB
62 lines
1.8 KiB
2 years ago
|
import { UserConfig as UserConfig$2, ConfigEnv } from 'vite';
|
||
|
export { ConfigEnv } from 'vite';
|
||
|
import { U as UserConfig$1, an as ResolvedCoverageOptions, F as FakeTimerInstallOpts } from './types-e1e1d1e5.js';
|
||
|
import 'tinybench';
|
||
|
import 'vite-node/client';
|
||
|
import 'vite-node/server';
|
||
|
import 'vite-node';
|
||
|
import 'node:fs';
|
||
|
import 'node:worker_threads';
|
||
|
|
||
|
declare const defaultInclude: string[];
|
||
|
declare const defaultExclude: string[];
|
||
|
declare const config: {
|
||
|
allowOnly: boolean;
|
||
|
watch: boolean;
|
||
|
globals: boolean;
|
||
|
environment: "node";
|
||
|
threads: boolean;
|
||
|
clearMocks: boolean;
|
||
|
restoreMocks: boolean;
|
||
|
mockReset: boolean;
|
||
|
include: string[];
|
||
|
exclude: string[];
|
||
|
testTimeout: number;
|
||
|
hookTimeout: number;
|
||
|
teardownTimeout: number;
|
||
|
isolate: boolean;
|
||
|
watchExclude: string[];
|
||
|
forceRerunTriggers: string[];
|
||
|
update: boolean;
|
||
|
reporters: never[];
|
||
|
silent: boolean;
|
||
|
api: boolean;
|
||
|
ui: boolean;
|
||
|
uiBase: string;
|
||
|
open: boolean;
|
||
|
css: {
|
||
|
include: never[];
|
||
|
};
|
||
|
coverage: ResolvedCoverageOptions;
|
||
|
fakeTimers: FakeTimerInstallOpts;
|
||
|
maxConcurrency: number;
|
||
|
dangerouslyIgnoreUnhandledErrors: boolean;
|
||
|
typecheck: {
|
||
|
checker: "tsc";
|
||
|
include: string[];
|
||
|
exclude: string[];
|
||
|
};
|
||
|
slowTestThreshold: number;
|
||
|
};
|
||
|
declare const configDefaults: Required<Pick<UserConfig$1, keyof typeof config>>;
|
||
|
|
||
|
interface UserConfig extends UserConfig$2 {
|
||
|
test?: UserConfig$2['test'];
|
||
|
}
|
||
|
|
||
|
type UserConfigFn = (env: ConfigEnv) => UserConfig | Promise<UserConfig>;
|
||
|
type UserConfigExport = UserConfig | Promise<UserConfig> | UserConfigFn;
|
||
|
declare function defineConfig(config: UserConfigExport): UserConfigExport;
|
||
|
|
||
|
export { UserConfig, UserConfigExport, UserConfigFn, configDefaults, defaultExclude, defaultInclude, defineConfig };
|