Matthias Urlichs c25ada8dcb Propagate errors when testing
Testing with Mocha requires errors raised within flows to propagate
to the test runner, not getting swallowed by Node.

This commit tests whether Mocha's global functions exist and,
if they do, propagates exceptions that are raised there.
2024-11-13 16:37:56 +01:00
..