aboutsummaryrefslogtreecommitdiff
path: root/docs/guides/test/skip-tests.md
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-08-25 12:47:47 -0700
committerGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-08-25 12:47:47 -0700
commitd62b0c365291306ce105c507224f3f1d0206c4c6 (patch)
tree65348811b51a2e96530711c846db0ac5019dcd1c /docs/guides/test/skip-tests.md
parent21b2d5c3a58a974298b06587a1b1c8f442f7b055 (diff)
downloadbun-d62b0c365291306ce105c507224f3f1d0206c4c6.tar.gz
bun-d62b0c365291306ce105c507224f3f1d0206c4c6.tar.zst
bun-d62b0c365291306ce105c507224f3f1d0206c4c6.zip
Readability tweaks
Diffstat (limited to 'docs/guides/test/skip-tests.md')
-rw-r--r--docs/guides/test/skip-tests.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/guides/test/skip-tests.md b/docs/guides/test/skip-tests.md
index c067c8fc7..e56c29932 100644
--- a/docs/guides/test/skip-tests.md
+++ b/docs/guides/test/skip-tests.md
@@ -4,8 +4,10 @@ name: Skip tests with the Bun test runner
To skip a test with the Bun test runner, use the `test.skip` function.
-```ts-diff
-test.skip("unimplemented feature", ()=>{
+```ts
+import { test } from "bun:test";
+
+test.skip("unimplemented feature", () => {
expect(Bun.isAwesome()).toBe(true);
});
```