API โ€บ @builder.io/qwik/testing

createDOM

CreatePlatform and CreateDocument

createDOM: () =>
  Promise<{
    render: (
      jsxElement: JSXNode
    ) => Promise<import("@builder.io/qwik").RenderResult>;
    screen: HTMLElement;
    userEvent: (
      queryOrElement: string | Element | keyof HTMLElementTagNameMap | null,
      eventNameCamel: string | keyof WindowEventMap,
      eventPayload?: any
    ) => Promise<void>;
  }>;

Edit this section