summaryrefslogtreecommitdiff
path: root/tests/specs/test/only/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/test/only/main.ts')
-rw-r--r--tests/specs/test/only/main.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/specs/test/only/main.ts b/tests/specs/test/only/main.ts
new file mode 100644
index 000000000..26b4cd425
--- /dev/null
+++ b/tests/specs/test/only/main.ts
@@ -0,0 +1,20 @@
+Deno.test({
+ name: "before",
+ fn() {},
+});
+
+Deno.test({
+ only: true,
+ name: "only",
+ fn() {},
+});
+
+Deno.test.only({
+ name: "only2",
+ fn() {},
+});
+
+Deno.test({
+ name: "after",
+ fn() {},
+});