mocha test beforeEach() vs before() code example Example: what is mocha js Mocha is javascript test framework!