mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
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.