Skip to content

Add contentWindow check #77

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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 pushed a commit that referenced this pull request Apr 29, 2018
@benhowell
Copy link
Owner

Released in v0.4.10 👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants