mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
Clean tests
This commit is contained in:
parent
07698a7c2b
commit
ce0c9089db
@ -69,7 +69,7 @@ describe('Components', () => {
|
||||
|
||||
class MapHolder extends Component { // eslint-disable-line react/no-multi-comp
|
||||
static propTypes = {
|
||||
center: PropTypes.array,
|
||||
center: PropTypes.any,
|
||||
zoom: PropTypes.number,
|
||||
greatPlaceCoords: PropTypes.any,
|
||||
};
|
||||
@ -117,7 +117,7 @@ describe('Components', () => {
|
||||
|
||||
class MapHolder extends Component { // eslint-disable-line react/no-multi-comp
|
||||
static propTypes = {
|
||||
center: PropTypes.array,
|
||||
center: PropTypes.any,
|
||||
zoom: PropTypes.number,
|
||||
greatPlaceCoords: PropTypes.any,
|
||||
};
|
||||
@ -160,6 +160,9 @@ describe('Components', () => {
|
||||
|
||||
TestUtils.renderIntoDocument(
|
||||
<GoogleMap
|
||||
// TODO add gmap api mock
|
||||
// defaultCenter={{lat: 59.938043, lng: 30.337157}}
|
||||
// defaultZoom={9}
|
||||
apiKey={API_KEY}
|
||||
googleMapLoader={asyncSpy}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user