aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar Jeroen van Rensen <46967616+jeroenvanrensen@users.noreply.github.com> 2023-09-24 17:50:18 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-24 08:50:18 -0700
commit43f092807bee13e036048f977172938ab2de331e (patch)
treec19a82d29d711a0c9c9641f03c5d308956e09402 /docs
parentb8817ab188d28c8fda2fe128c1d6c5e225aeff94 (diff)
downloadbun-43f092807bee13e036048f977172938ab2de331e.tar.gz
bun-43f092807bee13e036048f977172938ab2de331e.tar.zst
bun-43f092807bee13e036048f977172938ab2de331e.zip
Update writing.md - Remove duplicate code snippet (#5966)
Diffstat (limited to 'docs')
-rw-r--r--docs/test/writing.md6
1 files changed, 0 insertions, 6 deletions
diff --git a/docs/test/writing.md b/docs/test/writing.md
index 6e2df210b..3514ae4e9 100644
--- a/docs/test/writing.md
+++ b/docs/test/writing.md
@@ -143,12 +143,6 @@ To run a test conditionally, use `test.if()`. The test will run if the condition
test.if(Math.random() > 0.5)("runs half the time", () => {
// ...
});
-```
-
-```ts
-test.if(Math.random() > 0.5)("runs half the time", () => {
- // ...
-});
const macOS = process.arch === "darwin";
test.if(macOS)("runs on macOS", () => {