# Mocha Root Level Hooks
We can use before
and after
hooks outside of describe blocks. These are root-level hooks that are run in the context of the entire test suite. E.g. before root-level hook will run at the very beginning before all test cases.
Root-level hooks can be located in any test file.
Posted on: Sat, 23 Feb 2019 04:01:01 GMT