提交依赖与构建产物
This commit is contained in:
25
node_modules/vitest/dist/chunks/vite.d.BnOPPc46.d.ts
generated
vendored
Normal file
25
node_modules/vitest/dist/chunks/vite.d.BnOPPc46.d.ts
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
import { HookHandler } from 'vite';
|
||||
import { V as Vitest, T as TestProject, b as TestProjectConfiguration, I as InlineConfig } from './reporters.d.BuRON0I0.js';
|
||||
|
||||
interface VitestPluginContext {
|
||||
vitest: Vitest;
|
||||
project: TestProject;
|
||||
injectTestProjects: (config: TestProjectConfiguration | TestProjectConfiguration[]) => Promise<TestProject[]>;
|
||||
}
|
||||
|
||||
/* eslint-disable unused-imports/no-unused-vars */
|
||||
|
||||
type VitestInlineConfig = InlineConfig;
|
||||
declare module "vite" {
|
||||
interface UserConfig {
|
||||
/**
|
||||
* Options for Vitest
|
||||
*/
|
||||
test?: VitestInlineConfig;
|
||||
}
|
||||
interface Plugin<A = any> {
|
||||
configureVitest?: HookHandler<(context: VitestPluginContext) => void>;
|
||||
}
|
||||
}
|
||||
|
||||
export type { VitestPluginContext as V };
|
||||
Reference in New Issue
Block a user