Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
test.todo
import { test, expect } from "bun:test"; // 稍后编写此测试 test.todo("未实现的功能");
bun test
todo
test.test.ts: ✓ add [0.03ms] ✓ multiply [0.02ms] ✎ 未实现的功能 2 通过 1 个待办 0 失败 2 次 expect() 调用 在 1 个文件中运行了 3 个测试。[74.00ms]
import { test, expect } from "bun:test"; test.todo("未实现的功能", () => { expect(Bun.isAwesome()).toBe(true); });
--todo
bun test --todo
my.test.ts: ✗ 未实现的功能 ^ 此测试已标记为待办,但测试通过了。如果测试行为现在已正常工作,请移除 `.todo` 0 通过 1 失败 1 次 expect() 调用 $ echo $? 1 # 这是前一个命令的退出代码