An open API service indexing awesome lists of open source software.

https://github.com/oscarmarina/coverage-table-reporter

Adding a simple coverage table to your web-test-runner reporters
https://github.com/oscarmarina/coverage-table-reporter

Last synced: 2 months ago
JSON representation

Adding a simple coverage table to your web-test-runner reporters

Awesome Lists containing this project

README

        

# wtr - Coverage Table Reporter

> Just a `console.table(testCoverage.summary)`

## Install package

```js
npm install @blockquote/coverage-table-reporter --save-dev
```

## Reporters:

`web-test-runner.config.mjs`

### Mocha Reporter & Default Reporter and Coverage Table Reporter

```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](https://modern-web.dev/docs/test-runner/reporters/write-your-own/) for full documentation.