UNPKG

@stencil/playwright

Version:

Testing adapter to use Playwright with Stencil

23 lines (22 loc) 630 B
interface CustomMatchers<R = unknown> { /** * Will check if the event spy received the expected event. */ toHaveReceivedEvent(): R; /** * Will check if the event spy received the expected event with the expected detail. * @param eventDetail The expected detail of the event. */ toHaveReceivedEventDetail(eventDetail: any): R; /** * Will check how many times the event has been received. */ toHaveReceivedEventTimes(count: number): R; } declare global { namespace PlaywrightTest { interface Matchers<R> extends CustomMatchers<R> { } } } export {};