test.todo 函数。不需要提供实现。
test.ts
bun test 输出会报告 todo 测试的数量。
terminal
你可以提供测试实现。
除非传入
--todo 标志,否则 Bun 不会运行该实现。使用 --todo 时,测试会运行并且预期会失败。如果待办测试通过了,bun test 会返回非零退出码。
terminal
参见:
test.todo 函数。不需要提供实现。
bun test 输出会报告 todo 测试的数量。
--todo 标志,否则 Bun 不会运行该实现。使用 --todo 时,测试会运行并且预期会失败。如果待办测试通过了,bun test 会返回非零退出码。