diff options
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); }); ``` |