本页还没有译文
本页 5 段还没译成简体中文,下面显示的是英文原文。Skip tests with the Bun test runner
还没翻译译自英文(bun.com)本页 5 段都还没译
To skip a test with the Bun test runner, use the test.skip function.
import { test, expect } 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.
bun testtest.test.ts:
» unimplemented feature
0 pass
1 skip
0 fail
Ran 1 test across 1 file. [74.00ms]See also:
AI 翻译查看英文原文