OpenDroneMap-WebODM/app/static/app/js/components/tests/GCPPopup.test.jsx

11 wiersze
426 B
React
Czysty Zwykły widok Historia

2021-09-26 17:01:22 +00:00
import React from 'react';
import { mount } from 'enzyme';
2021-09-26 19:02:01 +00:00
import GCPPopup from '../GCPPopup';
2021-09-26 17:01:22 +00:00
describe('<GCPPopup />', () => {
it('renders without exploding', () => {
2021-09-26 19:04:03 +00:00
const wrapper = mount(<GCPPopup task={{id: 1, project: 1}} feature={{properties: {id: "test", error: [0,1,2], observations: [{shot_id: "test", annotated: [0, 0], reprojected: [0,0]}]}}} />);
2021-09-26 17:01:22 +00:00
expect(wrapper.exists()).toBe(true);
})
});