Adding a simple coverage table to your web-test-runner reporters
npm install @blockquote/coverage-table-reporter> Just a console.table(testCoverage.summary)
``js`
npm install @blockquote/coverage-table-reporter --save-dev
web-test-runner.config.mjs
`js
import { defaultReporter, summaryReporter } from '@web/test-runner';
import { coverageTableReporter } from '@blockquote/coverage-table-reporter';
export default {
reporters:
[
defaultReporter(),
summaryReporter()
coverageTableReporter()],
};
``
See moder-web website for full documentation.