Skip to content

Conversation

@aashil
Copy link
Contributor

@aashil aashil commented Sep 13, 2016

We didn't discussed about the tests and the ticket didn't mentioned anything about the tests. I would not have known.

… button, submit button and pressing enter for searching and send it to GoogleAnalytics.

* Create a separate GoogleAnalyticsService describing the methods to use for recording events to Google Analytics.
@aashil aashil force-pushed the dev-276-google-analytics-rebase branch from d855e53 to 9357483 Compare September 13, 2016 21:46
…mock the actual implementation of the methods which record the events.

* We do this to not record the events for tests.
@frankcarey
Copy link

I don't see any tests for this. I'd like to see something that tests that the GA events are called at the right times.

…ecific times.

* Use spyOn and expect the GA method to have been called with specific parameters.
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

Successfully merging this pull request may close these issues.

3 participants