Now that all the necessary pieces are in place, it is time to run the tests and review the test report.
Opening up the
chapters/01/test/test.html file in any web browser will cause Mocha to run all of the included tests and produce a test report:
This report provides a useful summary of the test run. The top-right column shows that two tests passed, none failed, and the tests collectively took 0.01 seconds to run. The test suites declared in our
describe statements are present as nested headings. Each test specification has a green checkmark next to the specification text, indicating ...