kopia lustrzana https://github.com/OpenDroneMap/WebODM
15 wiersze
331 B
JavaScript
15 wiersze
331 B
JavaScript
import React from 'react';
|
|
import { mount } from 'enzyme';
|
|
import Map from '../Map';
|
|
import sinon from 'sinon';
|
|
|
|
sinon.useFakeXMLHttpRequest();
|
|
|
|
describe('<Map />', () => {
|
|
it('renders without exploding', () => {
|
|
const wrapper = mount(<Map
|
|
tiles={['/tiles.json']} />);
|
|
|
|
expect(wrapper.exists()).toBe(true);
|
|
})
|
|
}); |