You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
In the completeQueueHandler method of src/test_runner.js, an Unhandled Promise Rejection will be triggered if a reporter (such as magellan-xunit-reporter) does not return a promise out of the flush method. I suspect it will also be triggered if flush does not exist in the reporter. It looks like these checks were removed in #257.
(node:41618) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'then' of undefined
at innerResolve (.../node_modules/testarmada-magellan/src/test_runner.js:196:21)
at new Promise (<anonymous>)
at Promise.all._.map.listener (.../node_modules/testarmada-magellan/src/test_runner.js:193:15)
at arrayMap (.../node_modules/lodash/lodash.js:639:23)
at Function.map (.../node_modules/lodash/lodash.js:9556:14)
at Timeout.setTimeout [as _onTimeout] (.../node_modules/testarmada-magellan/src/test_runner.js:190:13)
at ontimeout (timers.js:438:13)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
(node:41618) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:41618) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the
completeQueueHandler
method ofsrc/test_runner.js
, an Unhandled Promise Rejection will be triggered if a reporter (such as magellan-xunit-reporter) does not return apromise
out of theflush
method. I suspect it will also be triggered ifflush
does not exist in the reporter. It looks like these checks were removed in #257.The text was updated successfully, but these errors were encountered: