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
Change the property to assert that 3 > 5, meaning it should break every time
Watch it report pass
Observation:
It smelled funky to me that there was an it/2 in the example code, and also an it/2 inside the wrapper. I've used Mocha for almost three hours now, and my understanding is that its do not nest.
Therefore, I removed the interior it/2 from the wrapper. Suddenly things started working.
I also returned the value of the forAll, pretty much just because.
Suggested remediation:
Observe that my garbage fixes it
Figure out why
Throw my gargbage out, because the author (me) didn't put in any effort
Fix it correctly instead
Accept that nobody ever does this, ever
Merge the PR
The text was updated successfully, but these errors were encountered:
Crap
It looks like the Mocha wrapper is broken.
Justification:
3 > 5
, meaning it should break every timeObservation:
It smelled funky to me that there was an
it/2
in the example code, and also anit/2
inside the wrapper. I've used Mocha for almost three hours now, and my understanding is thatit
s do not nest.Therefore, I removed the interior
it/2
from the wrapper. Suddenly things started working.I also
return
ed the value of theforAll
, pretty much just because.Suggested remediation:
The text was updated successfully, but these errors were encountered: