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 was archived by the owner on Dec 28, 2023. It is now read-only.
fix(deps): Report fails without emit 'test end' event (#223)
* Report fails without emit 'test end' event
The mocha listens for 'test end' event (it can restart test if it is
failed). If an exception is thrown from the setup/beforeEach, the
karma-mocha must not fire 'test end' event, because it leads to
exception inside mocha code (the mocha tries to get current test,
which is undefined).
With this, mocha adapter reports fail directly to karma instead of
raising an intermediate 'test end' event.
* test: 'fail' hook doesn't emit 'test end' event
0 commit comments