import * as React from 'react'; import CircularProgressBar from '..'; import { circularProgressBarTestkitFactory } from '../../../testkit'; import { circularProgressBarTestkitFactory as circularProgressBarEnzymeTestkitFactory } from '../../../testkit/enzyme'; import { circularProgressBarTestkitFactory as circularProgressBarPuppeteerTestkitFactory } from '../../../testkit/puppeteer'; import * as enzyme from 'enzyme'; import * as puppeteer from 'puppeteer'; function CircularProgressBarWithMandatoryProps() { return ; } function CircularProgressBarWithAllProps() { return ( ); } async function testkits() { const testkit = circularProgressBarTestkitFactory({ dataHook: 'hook', wrapper: document.createElement('div'), }); const enzymeTestkit = circularProgressBarEnzymeTestkitFactory({ dataHook: 'hook', wrapper: enzyme.mount(
), }); const browser = await puppeteer.launch(); const page = await browser.newPage(); const puppeteerTestkit = await circularProgressBarPuppeteerTestkitFactory({ dataHook: 'hook', page, }); }