@vue/test-utils
Version:
Component testing utils for Vue 3.
8 lines (7 loc) • 374 B
TypeScript
import type { DefineComponent } from 'vue';
import type { MountingOptions } from './types';
export declare function createInstance(inputComponent: DefineComponent<{}, {}, any, any, any, any>, options?: MountingOptions<any> & Record<string, any>): {
app: import("vue").App<Element>;
props: Record<string, unknown>;
componentRef: import("vue").Ref<null, null>;
};