How mocha runs the test

all testing commands

before

beforeEach

after

afterEach