summaryrefslogtreecommitdiff
path: root/tests/specs/test/file_protocol
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/test/file_protocol')
-rw-r--r--tests/specs/test/file_protocol/__test__.jsonc4
-rw-r--r--tests/specs/test/file_protocol/main.out6
-rw-r--r--tests/specs/test/file_protocol/main.ts1
3 files changed, 11 insertions, 0 deletions
diff --git a/tests/specs/test/file_protocol/__test__.jsonc b/tests/specs/test/file_protocol/__test__.jsonc
new file mode 100644
index 000000000..931a8c64e
--- /dev/null
+++ b/tests/specs/test/file_protocol/__test__.jsonc
@@ -0,0 +1,4 @@
+{
+ "args": "test main.ts",
+ "output": "main.out"
+}
diff --git a/tests/specs/test/file_protocol/main.out b/tests/specs/test/file_protocol/main.out
new file mode 100644
index 000000000..d02b728d1
--- /dev/null
+++ b/tests/specs/test/file_protocol/main.out
@@ -0,0 +1,6 @@
+Check file://[WILDCARD]/main.ts
+running 1 test from ./main.ts
+test 0 ... ok ([WILDCARD])
+
+ok | 1 passed | 0 failed ([WILDCARD])
+
diff --git a/tests/specs/test/file_protocol/main.ts b/tests/specs/test/file_protocol/main.ts
new file mode 100644
index 000000000..79128c2b3
--- /dev/null
+++ b/tests/specs/test/file_protocol/main.ts
@@ -0,0 +1 @@
+Deno.test("test 0", () => {});