| 12345678910111213141516 |
- /**
- * @jest-environment puppeteer
- * @flow
- */
- import { screenshot } from '../utils/puppeteer.js';
- it('should position the popper on the right', async () => {
- const page = await browser.newPage();
- await page.goto(`${TEST_URL}/svg.html`);
- expect(await screenshot(page)).toMatchImageSnapshot({
- failureThreshold: 0.01,
- failureThresholdType: 'percent',
- });
- });
|