diff --git a/packages/test-utils/types/index.d.ts b/packages/test-utils/types/index.d.ts index 27d0573ac..7e7c197b3 100644 --- a/packages/test-utils/types/index.d.ts +++ b/packages/test-utils/types/index.d.ts @@ -85,6 +85,12 @@ export interface Wrapper extends BaseWrapper { get (selector: string): Wrapper get (selector: RefSelector): Wrapper get (selector: NameSelector): Wrapper + + getComponent (selector: VueClass): Wrapper + getComponent (selector: ComponentOptions): Wrapper + getComponent>(selector: FunctionalComponentOptions): Wrapper + getComponent (selector: RefSelector): Wrapper + getComponent (selector: NameSelector): Wrapper find (selector: VueClass): Wrapper find (selector: ComponentOptions): Wrapper