Fix: broken test after API update

This commit is contained in:
cybice 2015-10-24 14:11:32 +03:00
parent b4c67a0e72
commit e37242b5a7

View File

@ -163,12 +163,16 @@ describe('Components', () => {
// TODO add gmap api mock
// defaultCenter={{lat: 59.938043, lng: 30.337157}}
// defaultZoom={9}
apiKey={API_KEY}
bootstrapURLKeys={{
key: API_KEY,
}}
googleMapLoader={asyncSpy}
/>
);
expect(spy.calls.length).toEqual(1);
expect(spy.calls[0].arguments[0]).toEqual(API_KEY);
expect(spy.calls[0].arguments[0]).toEqual({
key: API_KEY,
});
});
});