feat(ct): export component fixture types to enable re-export (#15583)

This commit is contained in:
Pavel Feldman 2022-07-12 12:42:50 -08:00 committed by GitHub
parent 428cdc073c
commit 56fb3ddefb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ export type PlaywrightTestConfig = Omit<BasePlaywrightTestConfig, 'use'> & {
}
};
interface ComponentFixtures {
export interface ComponentFixtures {
mount(component: JSX.Element, options?: { hooksConfig?: any }): Promise<Locator>;
}

View File

@ -34,7 +34,7 @@ export type PlaywrightTestConfig = Omit<BasePlaywrightTestConfig, 'use'> & {
}
};
interface ComponentFixtures {
export interface ComponentFixtures {
mount<Props = { [key: string]: any }>(component: any, options?: {
props?: Props,
slots?: { [key: string]: any },

View File

@ -34,7 +34,7 @@ export type PlaywrightTestConfig = Omit<BasePlaywrightTestConfig, 'use'> & {
}
};
interface ComponentFixtures {
export interface ComponentFixtures {
mount(component: JSX.Element): Promise<Locator>;
mount<Props = { [key: string]: any }>(component: any, options?: {
props?: Props,

View File

@ -34,7 +34,7 @@ export type PlaywrightTestConfig = Omit<BasePlaywrightTestConfig, 'use'> & {
}
};
interface ComponentFixtures {
export interface ComponentFixtures {
mount(component: JSX.Element): Promise<Locator>;
mount<Props = { [key: string]: any }>(component: any, options?: {
props?: Props,