API βΊ @builder.io/qwik/testing
createDOM
CreatePlatform and CreateDocument
createDOM: ({ html }?: { html?: string | undefined }) =>
Promise<{
render: (
jsxElement: JSXOutput,
) => Promise<import("@builder.io/qwik").RenderResult>;
screen: HTMLElement;
userEvent: (
queryOrElement: string | Element | keyof HTMLElementTagNameMap | null,
eventNameCamel: string | keyof WindowEventMap,
eventPayload?: any,
) => Promise<void>;
}>;