scroll/coverage.sh

10 lines
224 B
Bash
Executable File

#!/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