import * as React from 'react';
import FontUpgrade from '..';
import { fontUpgradeTestkitFactory } from '../../../testkit';
import { fontUpgradeTestkitFactory as fontUpgradeEnzymeTestkitFactory } from '../../../testkit/enzyme';
import { fontUpgradeTestkitFactory as fontUpgradePuppeteerTestkitFactory } from '../../../testkit/puppeteer';
import * as enzyme from 'enzyme';
import * as puppeteer from 'puppeteer';

function fontUpgradeWithMandatoryProps() {
  return <FontUpgrade />;
}

function fontUpgradeWithAllProps() {
  return (
    <FontUpgrade
      children=""
      dataHook="dataHook"
      active
      className="some-class-name"
    />
  );
}

async function testkits() {
  const testkit = fontUpgradeTestkitFactory({
    dataHook: 'hook',
    wrapper: document.createElement('div'),
  });

  const enzymeTestkit = fontUpgradeEnzymeTestkitFactory({
    dataHook: 'hook',
    wrapper: enzyme.mount(<div />),
  });

  const browser = await puppeteer.launch();
  const page = await browser.newPage();
  const puppeteerTestkit = await fontUpgradePuppeteerTestkitFactory({
    dataHook: 'hook',
    page,
  });
}
