dashboard
repositories
filestore
activity
search
login
drone
/
drone_webodm
webodm 部署代码
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
first commit
zhongrj
2025-11-24
276323dce9613867abb3f58a4cc2abbfb2fd0dea
[drone/drone_webodm.git]
/
app
/
static
/
app
/
js
/
components
/
tests
/
GCPPopup.test.jsx
1
2
3
4
5
6
7
8
9
10
import React from 'react';
import { mount } from 'enzyme';
import GCPPopup from '../GCPPopup';
describe('<GCPPopup />', () => {
it('renders without exploding', () => {
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);
})
});