Skip to content

test: Make tests resilient between versions: no more annoying chores #1045

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

Merged
merged 1 commit into from
Apr 11, 2018

Conversation

tmcw
Copy link
Member

@tmcw tmcw commented Apr 11, 2018

Our tests test against documentation.js itself. Which is neat, but has the disadvantage that they include the version number of documentation.js, so every time that we release a version, the tests break because the version number doesn't match.

This PR that I should have written a long time ago sanitizes that version number, so tests continue to pass even when we release new versions.

@tmcw tmcw merged commit 6bf3f97 into master Apr 11, 2018
@tmcw tmcw deleted the version-proof-tests branch April 11, 2018 16:10
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.

1 participant