diff options
author | 2023-08-25 12:47:47 -0700 | |
---|---|---|
committer | 2023-08-25 12:47:47 -0700 | |
commit | d62b0c365291306ce105c507224f3f1d0206c4c6 (patch) | |
tree | 65348811b51a2e96530711c846db0ac5019dcd1c /docs/guides/test/skip-tests.md | |
parent | 21b2d5c3a58a974298b06587a1b1c8f442f7b055 (diff) | |
download | bun-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.md | 6 |
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); }); ``` |