fix(ct): optional hooksConfig mount option (#15921)

This commit is contained in:
sand4rt 2022-07-25 22:45:32 +02:00 committed by GitHub
parent 9ce727c936
commit c11f594c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>;
}