kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fix GCPPopup js test for real
rodzic
5a0fbe57d6
commit
421306a3e8
|
@ -4,7 +4,7 @@ import GCPPopup from '../GCPPopup';
|
||||||
|
|
||||||
describe('<GCPPopup />', () => {
|
describe('<GCPPopup />', () => {
|
||||||
it('renders without exploding', () => {
|
it('renders without exploding', () => {
|
||||||
const wrapper = mount(<GCPPopup task={{id: 1, project: 1}} feature={{properties: {id: "test", observations: []}}} />);
|
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]}]}}} />);
|
||||||
expect(wrapper.exists()).toBe(true);
|
expect(wrapper.exists()).toBe(true);
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
Ładowanie…
Reference in New Issue