-
-
Notifications
You must be signed in to change notification settings - Fork 698
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
Chai Assertion error doesn't have 'operator' attribute #1252
Comments
Hey @rpgeeganage thanks for the issue! We do not use the |
@keithamus , |
Hey @rpgeeganage, thank you so much for helping! I think I am misunderstanding something though so let me ask: what is the issue with the output you posted above? Is there something missing or incorrect? Thanks! |
|
@astorije , |
Oooh I missed that part! I was reading the whole thing 3 times but somehow I missed that first line, ahah! Thanks! |
Fixed with #1257 |
Hey everyone,
I'm currently working on a feature in
jest
repo (jestjs/jest#8454).While I came across that output is as follows. (https://github.com/facebook/jest/pull/8454/files#diff-e6f1eef106ffd32cb2e65acae35856b8R7)
it is because of https://github.com/facebook/jest/blob/master/packages/jest-circus/src/formatNodeAssertErrors.ts#L127, unable to extract the operator.
In https://nodejs.org/api/assert.html#assert_new_assert_assertionerror_options shows a property of
operator
.is it this a bug or have I taken a wrong approach?
Thanks a lot.
The text was updated successfully, but these errors were encountered: