In order to ensure certain reporters produce their desired output (for example, Mochawesome's HTML report), a #done method should be provided which Mocha will call once the test suite has completed.
Given that we're supporting multiple reporters here, we also need to ensure the invocation of the #done method is applied to each registered reporter.
Coverage increased (+4.2%) to 93.243% when pulling 69bf99dab2bab2e08befebe740a2a6279c4eed4f on chris-goodchild:support-done-methods into f5ea0291370f84759b2abcf5a0af82a721d9a52f on stanleyhlng:master.
Coverage increased (+6.03%) to 95.05% when pulling 51c7e93c626c6d6ccab2d6ae1ecf00a14632ade3 on chris-goodchild:support-done-methods into f5ea0291370f84759b2abcf5a0af82a721d9a52f on stanleyhlng:master.
Coverage increased (+4.7%) to 93.75% when pulling 51c7e93c626c6d6ccab2d6ae1ecf00a14632ade3 on chris-goodchild:support-done-methods into f5ea0291370f84759b2abcf5a0af82a721d9a52f on stanleyhlng:master.
Coverage increased (+4.7%) to 93.75% when pulling 51c7e93c626c6d6ccab2d6ae1ecf00a14632ade3 on chris-goodchild:support-done-methods into f5ea0291370f84759b2abcf5a0af82a721d9a52f on stanleyhlng:master.
Coverage increased (+4.7%) to 93.75% when pulling 51c7e93c626c6d6ccab2d6ae1ecf00a14632ade3 on chris-goodchild:support-done-methods into f5ea0291370f84759b2abcf5a0af82a721d9a52f on stanleyhlng:master.
Coverage increased (+5.0%) to 93.976% when pulling ad8e60fddb73c75894e3f71e24fcdf280c4dd7ad on chris-goodchild:support-done-methods into f5ea0291370f84759b2abcf5a0af82a721d9a52f on stanleyhlng:master.
Addresses issue #34
In order to ensure certain reporters produce their desired output (for example, Mochawesome's HTML report), a #done method should be provided which Mocha will call once the test suite has completed.
Given that we're supporting multiple reporters here, we also need to ensure the invocation of the #done method is applied to each registered reporter.