Closed SemenchenkoVitaliy closed 5 years ago
Running bailout test before unhandled exception test produces the following errors:
Node v11.3.0 (v8 7.0.276.38-node.11): ============================================================ ------------------------------------------------------------ Test failed: must catch unhandledExeptions Type: assert Message: must finish Expected: true is boolean Actual: false is boolean Stack: Error ImperativeTest._check (/lib/imperative-test.js:195:14) ImperativeTest.assert (/lib/imperative-test.js:230:10) Timeout.setTimeout [as _onTimeout] (/test/imperative.js:24:10) listOnTimeout (timers.js:324:15) processTimers (timers.js:268:5) ------------------------------------------------------------ Test failed: must catch unhandledExeptions Type: assertNot Message: must be failed Expected: false is boolean Actual: true is boolean Stack: Error ImperativeTest._check (/lib/imperative-test.js:195:14) ImperativeTest.assertNot (/lib/imperative-test.js:234:10) Timeout.setTimeout [as _onTimeout] (/test/imperative.js:25:10) listOnTimeout (timers.js:324:15) processTimers (timers.js:268:5) ------------------------------------------------------------ Test failed: must catch unhandledExeptions Type: unhandledExeption Message: Cannot read property 'type' of undefined Stack: TypeError: Cannot read property 'type' of undefined Timeout.setTimeout [as _onTimeout] (/test/imperative.js:27:25) listOnTimeout (timers.js:324:15) processTimers (timers.js:268:5) ============================================================ Tests finished: [+1 | -1 | ~0] Asserts: [+1 | -3] Tests finished. Waiting for unfinished tests after end Metatests finished with code 1
Running bailout test before unhandled exception test produces the following errors: