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

Add contentWindow check #77

Merged
merged 1 commit into from
Apr 29, 2018

Conversation

forforf
Copy link
Contributor

@forforf forforf commented Apr 28, 2018

When running tests using jest, this component would throw the error: TypeError: Cannot read property 'addEventListener' of null, adding the check fixed the issue. Figured others might run into the same issue so created a PR.

When running tests using jest, this component would throw the error: `TypeError: Cannot read property 'addEventListener' of null`, adding the check fixed the issue.
@benhowell benhowell merged commit 329ef7b into benhowell:master Apr 29, 2018
benhowell added a commit that referenced this pull request Apr 29, 2018
@benhowell
Copy link
Owner

Released in v0.4.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.

None yet

2 participants