kopia lustrzana https://github.com/OpenDroneMap/WebODM
10 wiersze
349 B
JavaScript
10 wiersze
349 B
JavaScript
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);
|
|
})
|
|
}); |