import React from 'react'; import { mount } from 'enzyme'; import LayersControlLayer from '../LayersControlLayer'; describe('', () => { it('renders without exploding', () => { const map = { hasLayer: () => true }; const wrapper = mount(); expect(wrapper.exists()).toBe(true); }) });