Fix typo in coverage

This patch:
- fixes typo in coverage
- enables coverage on Travis CI

References #50.
This commit is contained in:
Andrey Lushnikov
2017-07-27 16:27:00 -07:00
parent a2e0d27fb6
commit 47a0366b16
3 changed files with 6 additions and 2 deletions

View File

@@ -1361,7 +1361,7 @@ if (process.env.COVERAGE) {
for (let method of coverage.keys()) {
(disabled.has(method) ? xit : it)(`public method '${method}' was tested`, SX(async function(){
expect(publicAPICoverage.get(method)).toBe(true);
expect(coverage.get(method)).toBe(true);
}));
}
});