add the old snippet md files

This commit is contained in:
Travis Shears 2025-06-05 16:20:57 +02:00
parent fc0dd204c7
commit bcf8313a4b
110 changed files with 3048 additions and 0 deletions

View 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
```