Open darmie opened 2 years ago
Hi, I can't give you much information at the moment, a bit busy with other things, but if you are able to debug the SuitesRunner.hx you should be able to see if the tests are added and executed in the correct order, at least.
If we keep our fingers crossed that the library code works, check the scope of the variables so the race condition doesn't occur outside the tests. Where g
is defined for example.
If that seems ok, since it
tests in general should be independent from each other, you could solve the issue by moving the last test into the first one, basically testing just before done
is called, instead of a whole new it
clause.
Some
it
functions aren't executed linearly, they seem to run in parallel. How do I fix?afterEach
didn't fix itExample
The order at which the output prints are:
Expected outcome: