import * as React from 'react'; import Radio from '..'; import { radioTestkitFactory } from '../../../testkit'; import { radioTestkitFactory as radioEnzymeTestkitFactory } from '../../../testkit/enzyme'; import { radioTestkitFactory as radioPuppeteerTestkitFactory } from '../../../testkit/puppeteer'; import * as enzyme from 'enzyme'; import * as puppeteer from 'puppeteer'; function radioWithMandatoryProps() { return ; } function radioWithAllProps() { return ( {}} /> ); } async function testkits() { const testkit = radioTestkitFactory({ dataHook: 'hook', wrapper: document.createElement('div'), }); const enzymeTestkit = radioEnzymeTestkitFactory({ dataHook: 'hook', wrapper: enzyme.mount(
), }); const browser = await puppeteer.launch(); const page = await browser.newPage(); const puppeteerTestkit = await radioPuppeteerTestkitFactory({ dataHook: 'hook', page, }); }