scroll/coverage.sh
2023-11-16 16:00:03 -05:00

10 lines
254 B
Bash
Executable File

#!/usr/bin/env bash
rm -fr /cov_profile/
deno test --allow-all --coverage=cov_profile
deno coverage cov_profile --lcov > cov_profile/cov_profile.lcov
genhtml -o cov_profile cov_profile/cov_profile.lcov
rm cov_profile/*.json
open cov_profile/index.html