import React from 'react'; import renderer from 'react-test-renderer'; import 'jest-styled-components'; import { Table, TableTbody } from 'joyent-ui-toolkit'; import SnapshotList, { Item } from '../snapshots'; import Theme from '@mocks/theme'; it('renders without throwing', () => { expect( renderer .create( ) .toJSON() ).toMatchSnapshot(); }); it('renders without throwing', () => { expect( renderer .create(
) .toJSON() ).toMatchSnapshot(); }); it('renders without throwing', () => { const item = { updated: '12/09/2017', created: '12/09/2017', machineID: '657-sh', name: 'name', state: 'STARTED' }; expect( renderer .create( ) .toJSON() ).toMatchSnapshot(); }); it('renders without throwing', () => { expect( renderer .create( ) .toJSON() ).toMatchSnapshot(); }); it('renders without throwing', () => { expect( renderer .create( ) .toJSON() ).toMatchSnapshot(); }); it('renders without throwing', () => { expect( renderer .create( ) .toJSON() ).toMatchSnapshot(); }); it('renders without throwing', () => { expect( renderer .create( ) .toJSON() ).toMatchSnapshot(); }); it('renders without throwing', () => { expect( renderer .create( ) .toJSON() ).toMatchSnapshot(); }); it('renders without throwing', () => { expect( renderer .create( ) .toJSON() ).toMatchSnapshot(); });