summaryrefslogtreecommitdiff
path: root/cli/tests/run_coverage.ts
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-12-28 23:51:26 +0800
committerGitHub <noreply@github.com>2020-12-28 16:51:26 +0100
commit091059450eab50c1975fb0d3ecd4fcdefcb22b76 (patch)
treebc36370f606a822ee04408b22e06f7a25e24a63e /cli/tests/run_coverage.ts
parentc98c487fdad70f31153b44ce214824a4c7b58fe6 (diff)
feat(unstable): collect coverage from the run command (#8893)
This adds implicit coverage collection to the run command when a coverage collection directory is set (via an environment variable).
Diffstat (limited to 'cli/tests/run_coverage.ts')
-rw-r--r--cli/tests/run_coverage.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/run_coverage.ts b/cli/tests/run_coverage.ts
new file mode 100644
index 000000000..098d463e8
--- /dev/null
+++ b/cli/tests/run_coverage.ts
@@ -0,0 +1,3 @@
+import { returnsFoo2 } from "./subdir/mod1.ts";
+
+returnsFoo2();