import * as React from 'react'; import HorizontalTimeline from '..'; import {horizontalTimelineTestkitFactory} from '../../../testkit'; import {horizontalTimelineTestkitFactory as horizontalTimelineEnzymeTestkitFactory} from '../../../testkit/enzyme'; import {horizontalTimelineTestkitFactory as horizontalTimelinePuppeteerTestkitFactory} from '../../../testkit/puppeteer'; import * as enzyme from 'enzyme'; import * as puppeteer from 'puppeteer'; function horizontalTimelineWithMandatoryProps() { return , }, { label: 'Item 2', icon: , }, { label: 'Item 3', } ]}/>; } function horizontalTimelineWithAllProps() { return ( , }, { label: 'Item 2', icon: , }, { label: 'Item 3', } ]}/> ); } async function testkits() { const testkit = horizontalTimelineTestkitFactory({ dataHook: 'hook', wrapper: document.createElement('div'), }); const enzymeTestkit = horizontalTimelineEnzymeTestkitFactory({ dataHook: 'hook', wrapper: enzyme.mount(
), }); const browser = await puppeteer.launch(); const page = await browser.newPage(); const puppeteerTestkit = await horizontalTimelinePuppeteerTestkitFactory({ dataHook: 'hook', page, }); }