Fix GCPPopup js test for real

pull/1060/head
Piero Toffanin 2021-09-26 15:04:03 -04:00
rodzic 5a0fbe57d6
commit 421306a3e8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -4,7 +4,7 @@ import GCPPopup from '../GCPPopup';
describe('<GCPPopup />', () => {
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);
})
});