From d62b0c365291306ce105c507224f3f1d0206c4c6 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Fri, 25 Aug 2023 12:47:47 -0700 Subject: Readability tweaks --- docs/guides/test/skip-tests.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/guides/test/skip-tests.md') 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); }); ``` -- cgit v1.2.3