kopia lustrzana https://github.com/OpenDroneMap/WebODM
10 wiersze
349 B
React
10 wiersze
349 B
React
|
import React from 'react';
|
||
|
import { mount } from 'enzyme';
|
||
|
import LayersControlPanel from '../LayersControlPanel';
|
||
|
|
||
|
describe('<LayersControlPanel />', () => {
|
||
|
it('renders without exploding', () => {
|
||
|
const wrapper = mount(<LayersControlPanel onClose={() => {}} layers={[]} map={{}} />);
|
||
|
expect(wrapper.exists()).toBe(true);
|
||
|
})
|
||
|
});
|