summaryrefslogtreecommitdiff
path: root/cli/tests/test
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/test')
-rw-r--r--cli/tests/test/clear_timeout.out8
-rw-r--r--cli/tests/test/clear_timeout.ts5
2 files changed, 13 insertions, 0 deletions
diff --git a/cli/tests/test/clear_timeout.out b/cli/tests/test/clear_timeout.out
new file mode 100644
index 000000000..c9f459dbe
--- /dev/null
+++ b/cli/tests/test/clear_timeout.out
@@ -0,0 +1,8 @@
+Check [WILDCARD]/test/clear_timeout.ts
+running 3 tests from [WILDCARD]/test/clear_timeout.ts
+test test 1 ... ok ([WILDCARD])
+test test 2 ... ok ([WILDCARD])
+test test 3 ... ok ([WILDCARD])
+
+test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD])
+
diff --git a/cli/tests/test/clear_timeout.ts b/cli/tests/test/clear_timeout.ts
new file mode 100644
index 000000000..00056e853
--- /dev/null
+++ b/cli/tests/test/clear_timeout.ts
@@ -0,0 +1,5 @@
+clearTimeout(setTimeout(() => {}, 1000));
+
+Deno.test("test 1", () => {});
+Deno.test("test 2", () => {});
+Deno.test("test 3", () => {});