kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fix test
rodzic
7da52c4d64
commit
7617110943
|
@ -1,10 +1,10 @@
|
|||
import React from 'react';
|
||||
import { shallow } from 'enzyme';
|
||||
import { mount } from 'enzyme';
|
||||
import MapPreview from '../MapPreview';
|
||||
|
||||
describe('<MapPreview />', () => {
|
||||
it('renders without exploding', () => {
|
||||
const wrapper = shallow(<MapPreview getFiles={() => []} />);
|
||||
const wrapper = mount(<MapPreview getFiles={() => []} />);
|
||||
expect(wrapper.exists()).toBe(true);
|
||||
})
|
||||
});
|
Ładowanie…
Reference in New Issue