import React from 'react'; import renderer from 'react-test-renderer'; import 'jest-styled-components'; import { Table, TableTbody } from 'joyent-ui-toolkit'; import InstanceList, { Item } from '../list'; 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 allowedActions = { start: true, stop: true }; expect( renderer .create(
) .toJSON() ).toMatchSnapshot(); }); it('renders without throwing', () => { const item = { id: 'id', name: 'name', state: 'PROVISIONING' }; 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 {children} without throwing', () => { expect( renderer .create( children ) .toJSON() ).toMatchSnapshot(); });