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

11 wiersze
356 B
JavaScript

import React from 'react';
import { mount } from 'enzyme';
import ImagePopup from '../GCPPopup';
describe('<GCPPopup />', () => {
it('renders without exploding', () => {
const wrapper = mount(<GCPPopup task={{id: 1, project: 1}} feature={{properties: {id: "test", observations: []}}} />);
expect(wrapper.exists()).toBe(true);
})
});