scroll/coverage.sh

10 lines
224 B
Bash
Raw Permalink Normal View History

2023-11-16 16:00:03 -05:00
#!/usr/bin/env bash
rm -fr /coverage/
deno test --allow-all --coverage=coverage
deno coverage coverage --lcov > coverage/coverage.lcov
genhtml -o coverage coverage/coverage.lcov
rm coverage/*.json
open coverage/index.html
2023-11-16 16:00:03 -05:00