import React from 'react'; import { toMatchImageSnapshot } from 'jest-image-snapshot'; import screenshot from 'react-screenshot-renderer'; import { Table, TableTbody } from 'joyent-ui-toolkit'; import InstanceList, { Item } from '../list'; import Theme from '@mocks/theme'; expect.extend({ toMatchImageSnapshot }); it('', async () => { expect( await screenshot(
) ).toMatchImageSnapshot(); }); it('', async () => { expect( await screenshot(
) ).toMatchImageSnapshot(); }); it('', async () => { const allowedActions = { start: true, stop: true }; expect( await screenshot(
) ).toMatchImageSnapshot(); }); it('', async () => { const item = { id: 'id', name: 'name', state: 'PROVISIONING' }; 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('{children}', async () => { expect( await screenshot( children ) ).toMatchImageSnapshot(); });