import * as React from 'react'; import TrendIndicator from '..'; import { trendIndicatorTestkitFactory } from '../../../testkit'; import { trendIndicatorTestkitFactory as trendIndicatorEnzymeTestkitFactory } from '../../../testkit/enzyme'; import { trendIndicatorTestkitFactory as trendIndicatorPuppeteerTestkitFactory } from '../../../testkit/puppeteer'; import * as enzyme from 'enzyme'; import * as puppeteer from 'puppeteer'; function trendIndicatorWithMandatoryProps() { return ; } function trendIndicatorWithAllProps() { return ( ); } async function testkits() { const testkit = trendIndicatorTestkitFactory({ dataHook: 'hook', wrapper: document.createElement('div'), }); const enzymeTestkit = trendIndicatorEnzymeTestkitFactory({ dataHook: 'hook', wrapper: enzyme.mount(
), }); const browser = await puppeteer.launch(); const page = await browser.newPage(); const puppeteerTestkit = await trendIndicatorPuppeteerTestkitFactory({ dataHook: 'hook', page, }); }