Bez popisu

offset.test.js 314B

12345678910111213
  1. /**
  2. * @jest-environment puppeteer
  3. * @flow
  4. */
  5. import { screenshot } from '../utils/puppeteer.js';
  6. it('should offset the popper correctly', async () => {
  7. const page = await browser.newPage();
  8. await page.goto(`${TEST_URL}/modifiers/offset.html`);
  9. expect(await screenshot(page)).toMatchImageSnapshot();
  10. });