summaryrefslogtreecommitdiff
path: root/tests/testdata/coverage/no_http_coverage_data_test.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2024-05-28 20:25:46 +0900
committerGitHub <noreply@github.com>2024-05-28 20:25:46 +0900
commite9cc8a2b53ee43289ab964539cca4753e700b6c3 (patch)
treec754d725aa13c5c7dcac6176fb7d0a4b4ee730bf /tests/testdata/coverage/no_http_coverage_data_test.ts
parent1f913f2eb6a2b958a6dadaf67283726ae1321236 (diff)
fix(coverage): skip generating coverage json for http(s) scripts (#24008)
closes #21784
Diffstat (limited to 'tests/testdata/coverage/no_http_coverage_data_test.ts')
-rw-r--r--tests/testdata/coverage/no_http_coverage_data_test.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testdata/coverage/no_http_coverage_data_test.ts b/tests/testdata/coverage/no_http_coverage_data_test.ts
new file mode 100644
index 000000000..c196e9aba
--- /dev/null
+++ b/tests/testdata/coverage/no_http_coverage_data_test.ts
@@ -0,0 +1,5 @@
+import "http://localhost:4546/run/001_hello.js";
+
+Deno.test("hello", () => {
+ console.log("hello");
+});