Clean tests

This commit is contained in:
cybice 2015-10-04 01:01:52 +03:00
parent 07698a7c2b
commit ce0c9089db

View File

@ -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}
/>