You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating version from 3.8.4 to 4.0.0 some of my tests started failing with ridiculous messages like "Expected true to be true" or "Expected false to be false".
I noticed this happened for toBeTrue and toBeFalse matchers where I used expectationFailOutput message. E.g. expect(someVar).toBeFalse('Some output message')
After a bit of debugging I noticed that expectationFailOutput message is passed to the matcher (instead of actual boolean value from the expect function).
After I reverted back to 3.8.4 everything started working again.
I'm using jasmine 3.3.0.
The text was updated successfully, but these errors were encountered:
After updating version from
3.8.4
to4.0.0
some of my tests started failing with ridiculous messages like "Expected true to be true" or "Expected false to be false".I noticed this happened for
toBeTrue
andtoBeFalse
matchers where I usedexpectationFailOutput
message. E.g.expect(someVar).toBeFalse('Some output message')
After a bit of debugging I noticed that expectationFailOutput message is passed to the matcher (instead of actual boolean value from the expect function).
After I reverted back to
3.8.4
everything started working again.I'm using jasmine
3.3.0
.The text was updated successfully, but these errors were encountered: