rock-core / vscode-rock

VSCode extension for Rock integration
MIT License
1 stars 1 forks source link

Enable code coverage #18

Closed g-arjones closed 6 years ago

g-arjones commented 6 years ago

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

doudou commented 6 years ago

Seems to work. tsc passes now and the coverage is generated.