diff options
author | 2023-09-11 17:48:53 +0200 | |
---|---|---|
committer | 2023-09-11 08:48:53 -0700 | |
commit | 49b9306dce8df8d3c036326c48409ff87847473b (patch) | |
tree | 25b5bf30af30022005a51c53fc3341968a541fb1 | |
parent | 2956ed428942a6a93c5b4aa3e27f2118e6a1e674 (diff) | |
download | bun-49b9306dce8df8d3c036326c48409ff87847473b.tar.gz bun-49b9306dce8df8d3c036326c48409ff87847473b.tar.zst bun-49b9306dce8df8d3c036326c48409ff87847473b.zip |
fix: changes wrong command name in the tests chapter (#4965)
This PR fixes the command name for running tests flagged with `.only`
-rw-r--r-- | docs/test/writing.md | 2 |
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"; |