A WebdriverIO service for monocart coverage reports
npm i wdio-monocart-service
// wdio.conf.js
{
services: [
['monocart', {
name: 'My WebdriverIO Coverage Report',
// v8 (default) or istanbul (requires instrumenting source code)
// coverageProvider: 'v8',
entryFilter: '**/src/**',
reports: [
'v8',
'console-details'
],
outputDir: './coverage-reports'
}]
]
}
Check repo monocart coverage reports for more options.