Skip to content

Commit

Permalink
test: added fake setOptions() method for map element
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 580218549
  • Loading branch information
awmack authored and copybara-github committed Nov 7, 2023
1 parent d3daad7 commit 96cb1e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testing/fake_gmp_components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ declare global {
export class FakeMapElement extends LitElement {
center: LatLng|LatLngLiteral|null = null;

readonly innerMap =
jasmine.createSpyObj<google.maps.Map>('Map', ['fitBounds', 'panTo']);
readonly innerMap = jasmine.createSpyObj<google.maps.Map>(
'Map', ['fitBounds', 'panTo', 'setOptions']);

mapId: string|null = null;
zoom: number|null = null;
Expand Down

0 comments on commit 96cb1e7

Please sign in to comment.