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

Fix failing tests by passing Router through render #349

Merged
merged 1 commit into from
Dec 8, 2019

Conversation

marvinhagemeister
Copy link
Member

This PR fixes the failing tests on master which are caused by newer versions of preact not setting this.state and other component properties in the constructor anymore. The tests didn't use the public API and instead instantiated the components directly new Router().

Copy link
Member

@JoviDeCroock JoviDeCroock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tackling this, will ensure tests from reflecting the truth!

@marvinhagemeister marvinhagemeister merged commit ddff0dd into master Dec 8, 2019
@marvinhagemeister marvinhagemeister deleted the fix-failing-tests branch December 8, 2019 11:28
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.

2 participants