import React from 'react'; import { toMatchImageSnapshot } from 'jest-image-snapshot'; import renderer from 'react-test-renderer'; import screenshot from 'react-screenshot-renderer'; import { Rule, Header } from '../affinity'; import Theme from '@mocks/theme'; expect.extend({ toMatchImageSnapshot }); it('', async () => { expect( await screenshot( ) ).toMatchImageSnapshot(); }); it('', async () => { expect( await screenshot( ) ).toMatchImageSnapshot(); }); it('
', async () => { expect( await screenshot(
) ).toMatchImageSnapshot(); }); it('
', async () => { expect( await screenshot(
) ).toMatchImageSnapshot(); });