UNPKG

cypress-ct-stencil

Version:

Framework Definition for StencilJS with Cypress Component Testing

22 lines (21 loc) 544 B
import { type VNode } from '@stencil/core'; export declare function mount(template: VNode | VNode[] | string, options?: Options): void; interface Options { /** * Waits for all children in the mount function to be visible. * @notice does not wait for children in `shadowRoot`. */ waitUntilVisible?: boolean; /** * Logs when its about to mount a node. */ log?: boolean; } declare global { namespace Cypress { interface Chainable { mount: typeof mount; } } } export {};