import * as React from 'react';
import Notification from '..';
import { notificationTestkitFactory } from '../../../testkit';
import { notificationTestkitFactory as notificationEnzymeTestkitFactory } from '../../../testkit/enzyme';
import { notificationTestkitFactory as notificationPuppeteerTestkitFactory } from '../../../testkit/puppeteer';
import * as enzyme from 'enzyme';
import * as puppeteer from 'puppeteer';
function NotificationWithMandatoryProps() {
return ;
}
function NotificationWithAllProps() {
return (
{}}
>
Action link
Action button
Another action button
hello
);
}
async function testkits() {
const testkit = notificationTestkitFactory({
dataHook: 'hook',
wrapper: document.createElement('div'),
});
const enzymeTestkit = notificationEnzymeTestkitFactory({
dataHook: 'hook',
wrapper: enzyme.mount(
),
});
const browser = await puppeteer.launch();
const page = await browser.newPage();
const puppeteerTestkit = await notificationPuppeteerTestkitFactory({
dataHook: 'hook',
page,
});
}