Skip to content

Mock Classes to be able to test JS classes that use Google Map without having Google Map loaded

Notifications You must be signed in to change notification settings

emrox/google_maps_mock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Mocked Google Maps API

Simple file to mock all Google Maps API. I'll add classes and methods evrey time I need it. But feel free to fork and pull requests!

Usefull for Jasmine tests or integration tests (speedup, overiding API limits)

I don't plan to write tests for that for now, I'm not a masochist to write test for mock objects used to write test. But who knows, may I'll do it

News

  • 05.12.2012 - added compiled JS and added Support for GeoCoding. 3 results are supported:
    • Default: Pinnaserg 45, 20354 Hamburg
    • when matching 'London': Tower Bridge, Tower Bridge Rd, London
    • when matching 'notMatchingLocation': - a zero sized result

About

Mock Classes to be able to test JS classes that use Google Map without having Google Map loaded

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 100.0%