Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Report fails without emit 'test end' event #223

Merged
merged 2 commits into from Apr 29, 2020

Commits on Apr 23, 2020

  1. 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.
    gdmfilippov committed Apr 23, 2020
    Copy the full SHA
    4f4317d View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2020

  1. Copy the full SHA
    ed19e68 View commit details
    Browse the repository at this point in the history