aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/test/writing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/test/writing.md b/docs/test/writing.md
index f5024a369..ef26a802a 100644
--- a/docs/test/writing.md
+++ b/docs/test/writing.md
@@ -109,7 +109,7 @@ $ bun test --todo
## `test.only`
-To run a particular test or suite of tests use `test.only()` or `describe.only()`. Once declared, running `bun test --skip` will only execute tests/suites that have been marked with `.only()`.
+To run a particular test or suite of tests use `test.only()` or `describe.only()`. Once declared, running `bun test --only` will only execute tests/suites that have been marked with `.only()`.
```ts
import { test, describe } from "bun:test";