mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
Fix typo in coverage
This patch: - fixes typo in coverage - enables coverage on Travis CI References #50.
This commit is contained in:
@@ -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);
|
||||
}));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user