import * as React from 'react'; import * as enzyme from 'enzyme'; import * as puppeteer from 'puppeteer'; import StatusIndicator from '..'; import { statusIndicatorTestkitFactory } from '../../../testkit'; import { statusIndicatorTestkitFactory as statusIndicatorEnzymeTestkitFactory } from '../../../testkit/enzyme'; import { statusIndicatorTestkitFactory as statusIndicatorPuppeteerTestkitFactory } from '../../../testkit/puppeteer'; function StatusIndicatorWithMandatoryProps() { return ; } function StatusIndicatorWithAllProps() { return ( ); } async function testkits() { const testkit = statusIndicatorTestkitFactory({ dataHook: 'hook', wrapper: document.createElement('div'), }); const enzymeTestkit = statusIndicatorEnzymeTestkitFactory({ dataHook: 'hook', wrapper: enzyme.mount(
), }); const browser = await puppeteer.launch(); const page = await browser.newPage(); const puppeteerTestkit = await statusIndicatorPuppeteerTestkitFactory({ dataHook: 'hook', page, }); }