The test runner uses the "on" (documented) method from the Runner class but the @types module only provides a partial interface for that (without the "on" method). So, we need to provide our own types for mocha.
I could not get the compilation to fail here, so please test this before you merge.
The test runner uses the "on" (documented) method from the Runner class but the @types module only provides a partial interface for that (without the "on" method). So, we need to provide our own types for mocha.
I could not get the compilation to fail here, so please test this before you merge.
Fixes #16