freeCodeCamp / freeCodeCampOS

Test repo for external freeCodeCamp courses

Home Page:https://opensource.freecodecamp.org/freeCodeCampOS/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feat]: option to fail tests if lifecycle hooks throw

ShaunSHamilton opened this issue · comments

It would be useful to have a feature/toggle to cause tests to:
a) Not run
b) Fail

If the before-all/before-each hooks throw.

Currently, this is the default behaviour for before-each, but could be useful for the other lifecycle hooks.