cherry-pick(#15921): fix(ct): optional hooksConfig mount option

This commit is contained in:
sand4rt 2022-07-25 22:45:32 +02:00 committed by Pavel Feldman
parent 1b2cb1c7b2
commit 2964ed5982
2 changed files with 4 additions and 4 deletions

View file

@ -39,13 +39,13 @@ interface ComponentFixtures {
props?: { [key: string]: any },
slots?: { [key: string]: any },
on?: { [key: string]: Function },
hooksConfig: any,
hooksConfig?: any,
}): Promise<Locator>;
mount<Props>(component: any, options: {
props: Props,
slots?: { [key: string]: any },
on?: { [key: string]: Function },
hooksConfig: any,
hooksConfig?: any,
}): Promise<Locator>;
}

View file

@ -40,13 +40,13 @@ export interface ComponentFixtures {
props?: { [key: string]: any },
slots?: { [key: string]: any },
on?: { [key: string]: Function },
hooksConfig: any,
hooksConfig?: any,
}): Promise<Locator>;
mount<Props>(component: any, options: {
props: Props,
slots?: { [key: string]: any },
on?: { [key: string]: Function },
hooksConfig: any,
hooksConfig?: any,
}): Promise<Locator>;
}