10 lines
254 B
Bash
10 lines
254 B
Bash
|
#!/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
|
||
|
|
||
|
|