import { newE2EPage } from '@stencil/core/testing';
export async function renderComponent(html, componentName) {
    const page = await newE2EPage();
    await page.setContent(html);
    const element = await page.find(componentName);
    return element;
}
export async function renderComponentPage(html) {
    const page = await newE2EPage();
    await page.setContent(html);
    return page;
}
