diff options
-rw-r--r-- | docs/test/writing.md | 6 |
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", () => { |