test result report in after hook in mocha code example
Example 1: what is mocha js
Mocha is javascript test framework!
Example 2: how to run mocha tests form a file
$ mocha -g 'logs a'
Mocha is javascript test framework!
$ mocha -g 'logs a'