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
The 2 prop obviously differs, so the test case will fail.
Unfortunately, the difference is vanished from the output message, since during stringification of frames, NaN becomes null:
The differences should be highlighted as follows:
Could you please check?
Thanks,
Bence
The text was updated successfully, but these errors were encountered:
One of the few reasons jest-marbles may be used over jasmine-marbles is that due to the output of jasmine-marbles it's nearly impossible to compare complex observables.
Here a simple comparison:
jasmine-marbles (running with jest) ⬇️
jest-marbles (also running with jest) ⬇️
As you can see, it's way easier to detect what went wrong inside the test-case with the better formatted print, highlighting and fifing
Hi guys,
Please consider the following test case:
The 2
prop
obviously differs, so the test case will fail.Unfortunately, the difference is vanished from the output message, since during stringification of frames,
NaN
becomesnull
:The differences should be highlighted as follows:
Could you please check?
Thanks,
Bence
The text was updated successfully, but these errors were encountered: