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 failureMessage display #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jehy
Copy link

@jehy jehy commented Jan 30, 2020

On my project I had a trouble with displaying test errors - instead of error text, some kind of array was logged:

image

I looked through the code and saw that failureMessage seems to be supposed a string, not an array. So I simply put a join('') there - and now everything seems to work fine.

image

I checked this on several differents reporters and results were same.
May be jest accepted failureMessage as an array before, bit now it expects string.
I suppose that this should be checked on other project setups as well.

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

1 participant