From ca8197ff0806f32cf741571eb8e04607a4a4024b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Soares?=
<37777652+Dnreikronos@users.noreply.github.com>
Date: Sun, 15 Feb 2026 17:22:59 -0300
Subject: [PATCH] docs: Simplify Deno test task example (#49235)
Closes #48537
**Explanation:**
The Deno test task example wasn't appearing because the undefined
ZED_CUSTOM_DENO_TEST_NAME variable made the filter invalid. Instead of
adding a default value, simplify the example to run all tests in the
file, which is the most common use case and works out of the box.
Before you mark this PR as ready for review, make sure that you have:
Screenshots:
Before:
After:
Release Notes:
- N/A
---
docs/src/languages/deno.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/src/languages/deno.md b/docs/src/languages/deno.md
index 0fa645291e..c5a49590e2 100644
--- a/docs/src/languages/deno.md
+++ b/docs/src/languages/deno.md
@@ -115,7 +115,7 @@ To run deno tasks like tests from the ui, add this to `.zed/tasks.json`
[
{
"label": "deno test",
- "command": "deno test -A --filter '/^$ZED_CUSTOM_DENO_TEST_NAME$/' '$ZED_FILE'",
+ "command": "deno test -A '$ZED_FILE'",
"tags": ["js-test"]
}
]