2 comments
Comment actions Permalink

Not sure I follow you... Do you mean that test running produces different result in debug mode (test succeeds in debugger but fails when running)? No, it's not normal. Are you sure the test succeeds? Tests results tree is not shown in debug mode...

0
Comment actions Permalink

Sorry, forgot about this post.   FYI, the code came from jetbrains@youtube video  starting around here:   https://youtu.be/xuXIBSa_7j4?t=28m41s

The failure difference is on line 31 of test.js.  In one case 200ms is used and the other 2000ms is used.



Attachment(s):
debugMocha_200ms_passes.png
runMocha_2000ms_FAIL.png
runMocha_200ms_passes.png
debugMocha_2000ms_passes.png
tests.js
0

Please sign in to leave a comment.