一套关于在 Bun 中编写、运行和配置测试的指南
测试运行器
bun test 中的 Mock 函数
测试运行器
bun test 中的方法间谍
测试运行器
使用 Testing Library 和 Bun
测试运行器
bun test 中的快照更新
测试运行器
使用 Bun 在监视模式下运行测试
测试运行器
在 bun test 中使用快照测试
测试运行器
使用 Bun 测试运行器尽早退出
测试运行器
使用 Bun 测试运行器跳过测试
测试运行器
从 Jest 迁移到 Bun 的测试运行器
测试运行器
使用 Bun 测试运行器运行您的测试
测试运行器
在 Bun 的测试运行器中设置系统时间
测试运行器
使用 Bun 和 happy-dom 编写浏览器 DOM 测试
测试运行器
使用 Bun 测试运行器设置每个测试的超时
测试运行器
使用 Bun 测试运行器将测试标记为 "todo"
测试运行器
使用 Bun 测试运行器多次重新运行测试
测试运行器
使用 Bun 测试运行器设置代码覆盖率阈值
测试运行器
使用 Bun 测试运行器生成代码覆盖率报告
测试运行器
使用 bun test import、require 和测试 Svelte 组件