test: fix failing unit tests due to assert in exit event handler#104
test: fix failing unit tests due to assert in exit event handler#104DanielRuf wants to merge 1 commit intomscdex:masterfrom DanielRuf:test/node-10-fix-unit-tests
Conversation
|
This is not a solution as this just hides an underlying issue with node (v10.0.0 to be exact) upstream and hides the fact that no tests completed. Thank you for the PR though. |
|
To be honest, it is unclear to my why this should be a bug in Node 10 (is there some issue about this?) and the assert in there makes not much sense to me. I feel like this is intended and deprecated / due to internal changes which should work like this. |
|
The issue is that an arguably semver-major change was made to node only a few days before v10.0.0 was released and that is causing the tests to fail as-is. The assert is necessary because all tests should complete when the process exits. If not all of them did, then something went wrong and it'd be nice to be able to know that. |
Huh? No this check does not do this. It also outputs |
Trust me, it does. Additionally, only calling
Yes, but only on node v10.0.0 and for the reason I previously mentioned. |
No description provided.