Bun

监听模式

要自动在文件更改时重新运行测试,请使用 --watch 标志

bun test --watch

Bun 将监听测试文件中导入的任何文件的更改,并在检测到更改时重新运行测试。

速度很快。