import React from 'react'; import { mount } from 'enzyme'; import { Checkbox, ExpandButton } from '../Toggle'; describe('', () => { it('renders without exploding', () => { const self = { state:{ visible: true }, setState: () => {} }; const wrapper = mount(); expect(wrapper.exists()).toBe(true); }) }); describe('', () => { it('renders without exploding', () => { const self = { state:{ visible: true }, setState: () => {} }; const wrapper = mount(); expect(wrapper.exists()).toBe(true); }) });