Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Conversation

@mwaldstein
Copy link
Contributor

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

3 Bug fixes:

  • Fix tests to clear mock ga between tests. Currently page tests will pass even though they shouldn't
  • Fix page to work with string paths (see #124 )
  • Fix page to use pageviewTemplate when set anytime a route is tracked

@mwaldstein
Copy link
Contributor Author

Note: I couldn't understand why the page regression wasn't caught by existing tests which led to the additional test fixes.

@MatteoGabriele
Copy link
Owner

MatteoGabriele commented May 21, 2018

Thanks for your work @mwaldstein
Tests are actually kinda old and I am already re-writing them, but for now, they cover basic functionalities of the plugin and give me a hint when stuff breaks, but they should definitely cover more parts

@mwaldstein
Copy link
Contributor Author

Yea, I thought about adding more thorough tests, but kept to the bare minimum to ensure that the regression I fixed would be caught in the future

@MatteoGabriele MatteoGabriele merged commit cefabee into MatteoGabriele:master May 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants