mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
Fix: broken test after API update
This commit is contained in:
parent
b4c67a0e72
commit
e37242b5a7
@ -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,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user