import * as React from 'react'; import { shallow } from 'enzyme'; import SandboxesEmptyState from '../SandboxesEmptyState'; describe('icons/states/SandboxesEmptyState', () => { test('should correctly render default icon with default colors', () => { const wrapper = shallow(); expect(wrapper).toMatchSnapshot(); }); test('should correctly render icon with specified color', () => { const wrapper = shallow(); expect(wrapper).toMatchSnapshot(); }); test('should correctly render icon with specified width and height and default viewBox value', () => { const wrapper = shallow(); expect(wrapper).toMatchSnapshot(); }); test('should correctly render icon with title', () => { const wrapper = shallow(); expect(wrapper).toMatchSnapshot(); }); test('should correctly render icon with custom class name', () => { const wrapper = shallow(); expect(wrapper).toMatchSnapshot(); }); });