-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting different results depending on how test is run #1
Comments
Moved the console.log statement above the almost check and threw in TOLERANCE:
The multi-file test run is now:
Also, there was another failure just before this one, again related to tolerance, but it disappeared durin this test run. |
Refined this a bit further, and moved the console output to the actual failure output.
seeing this now:
|
Okay, this seems to be related to the test file name. If I change it from this: all tests pass, whether run solo or with others. Could be a mocha issue. |
I take it back. Worked once, now failing again with file name change. |
I have this set up before my mocha tests:
And later I have an assertion:
When running the test singly, the output is:
However, when run the whole series of 8 test files, I see this:
2) quantity 1000, 4x1, black & blue, adh free=2
Not sure how that is possible.
The text was updated successfully, but these errors were encountered: