scroll/coverage.sh

7 lines
197 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