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: treat power-assert message as "not generated" to avoid message override #29

Merged
merged 1 commit into from
Sep 8, 2018

Conversation

twada
Copy link
Member

@twada twada commented Sep 8, 2018

by setting AssertionError.generatedMessage to false so works well with Jest

https:/facebook/jest/blob/ed95b36bb139aa5d0fea35780ab5043eccf3cdee/packages/jest-jasmine2/src/assert_support.js#L97

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.3%) to 95.946% when pulling a583c38 on treat-powered-message-as-not-generated into 77c1c4b on master.

@twada twada merged commit dac6a80 into master Sep 8, 2018
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