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

avoid using document in nodejs #9

Merged
merged 2 commits into from May 1, 2018
Merged

Conversation

jtisekar
Copy link
Contributor

@jtisekar jtisekar commented Apr 30, 2018

This fix is for using snap shots in node js. 'document' is not defined in nodejs. So adding a check before using it. This solves the current problem of summary not being created for nodejs when tests fail as getHtml() throws an exception.

@horvay horvay merged commit 1f17091 into horvay:master May 1, 2018
@horvay
Copy link
Owner

horvay commented May 1, 2018

Thanks mang, you da man!

@horvay
Copy link
Owner

horvay commented May 1, 2018

NPM should be up to date as well now.

@jtisekar
Copy link
Contributor Author

jtisekar commented May 1, 2018

Thank you for the quick approval and NPM update

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