add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
17
old_snippets/locally-host-istanbul-js-results.md
Normal file
17
old_snippets/locally-host-istanbul-js-results.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
title: "locally host istanbul js results"
|
||||
date: 2021-06-23T11:15:24+02:00
|
||||
draft: false
|
||||
snippet_types:
|
||||
- js
|
||||
- npx
|
||||
- npm
|
||||
---
|
||||
|
||||
At work we use [istanbul js](https://istanbul.js.org/) for code coverage but at
|
||||
times the cli output is not enough to debug. Luckily istanbul also outputs a HTML
|
||||
report that can be viewed with the following command:
|
||||
|
||||
```shell
|
||||
$ npx http-server ./coverage/lcov-report
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue