rockymadden / gap

:nut_and_bolt: Fix default Google Analytics tracking methodologies and track micro user behaviors.
https://rockymadden.com/gap/
81 stars 6 forks source link

More robust unit testing #6

Open rockymadden opened 11 years ago

bayleedev commented 9 years ago

Using something like sinon and stubbing out a fake ga object would do the trick. Assuming it's api doesn't change. Then it can all happen without firing up a browser or something.