import React from 'react'; import { toMatchImageSnapshot } from 'jest-image-snapshot'; import screenshot from 'react-screenshot-renderer'; import Tag, { AddForm, EditForm } from '../tags'; import Theme from '@mocks/theme'; expect.extend({ toMatchImageSnapshot }); it('renders without throwing', async () => { expect( await screenshot( ) ).toMatchImageSnapshot(); }); it('renders without throwing', async () => { expect( await screenshot( ) ).toMatchImageSnapshot(); }); it('renders without throwing', async () => { expect( await screenshot( ) ).toMatchImageSnapshot(); }); it('renders without throwing', async () => { expect( await screenshot( ) ).toMatchImageSnapshot(); });