Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could use some unit tests... #3

Open
jakefreeberg opened this issue Aug 11, 2017 · 0 comments
Open

could use some unit tests... #3

jakefreeberg opened this issue Aug 11, 2017 · 0 comments

Comments

@jakefreeberg
Copy link

I should really contribute them myself, but if you put any more effort into this example, I think some unit tests that show how to spy on the global ga() would save people some time.

I ended up copying the approach they use here: https://github.com/angulartics/angulartics2/blob/35921ff55471c58db4b255145d259acb83e088ee/src/providers/ga/angulartics2-ga.spec.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant