Skip to content

Commit e37242b

Browse files
committed
Fix: broken test after API update
1 parent b4c67a0 commit e37242b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/components/GoogleMap.spec.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,16 @@ describe('Components', () => {
163163
// TODO add gmap api mock
164164
// defaultCenter={{lat: 59.938043, lng: 30.337157}}
165165
// defaultZoom={9}
166-
apiKey={API_KEY}
166+
bootstrapURLKeys={{
167+
key: API_KEY,
168+
}}
167169
googleMapLoader={asyncSpy}
168170
/>
169171
);
170172

171173
expect(spy.calls.length).toEqual(1);
172-
expect(spy.calls[0].arguments[0]).toEqual(API_KEY);
174+
expect(spy.calls[0].arguments[0]).toEqual({
175+
key: API_KEY,
176+
});
173177
});
174178
});

0 commit comments

Comments
 (0)