( options: google.maps.CircleOptions, )
| 359 | |
| 360 | /** Creates a jasmine.SpyObj for a google.maps.Circle */ |
| 361 | export function createCircleSpy( |
| 362 | options: google.maps.CircleOptions, |
| 363 | ): jasmine.SpyObj<google.maps.Circle> { |
| 364 | const circleSpy = jasmine.createSpyObj('google.maps.Circle', [ |
| 365 | 'addListener', |
| 366 | 'getCenter', |
| 367 | 'getRadius', |
| 368 | 'getDraggable', |
| 369 | 'getEditable', |
| 370 | 'getVisible', |
| 371 | 'setMap', |
| 372 | 'setOptions', |
| 373 | 'setCenter', |
| 374 | 'setRadius', |
| 375 | ]); |
| 376 | circleSpy.addListener.and.returnValue({remove: () => {}}); |
| 377 | return circleSpy; |
| 378 | } |
| 379 | |
| 380 | /** Creates a jasmine.Spy to watch for the constructor of a google.maps.Circle */ |
| 381 | export function createCircleConstructorSpy( |
no outgoing calls
no test coverage detected
searching dependent graphs…