Documentation Index

Fetch the complete documentation index at: /docs/llms.txt

Use this file to discover all available pages before exploring further.

Skip to main content
To skip a test with the Bun test runner, use the test.skip function.
test.ts
import { test } from "bun:test";

test.skip("unimplemented feature", () => {
  expect(Bun.isAwesome()).toBe(true);
});

Running bun test doesn’t execute this test. The terminal output marks it as skipped.
terminal
bun test
test.test.ts:
✓ add [0.03ms]
✓ multiply [0.02ms]
» unimplemented feature

 2 pass
 1 skip
 0 fail
 2 expect() calls
Ran 3 tests across 1 file. [74.00ms]

See also:
Morty Proxy This is a proxified and sanitized view of the page, visit original site.