import React from 'react'; import { toMatchImageSnapshot } from 'jest-image-snapshot'; import screenshot from 'react-screenshot-renderer'; import Theme from '@mocks/theme'; import { UserScript } from '../user-script'; 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(); }); it('', async () => { expect( await screenshot( ) ).toMatchImageSnapshot(); }); it('', async () => { expect( await screenshot( ) ).toMatchImageSnapshot(); }); it('', async () => { expect( await screenshot( ) ).toMatchImageSnapshot(); });