Bun

监视模式

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

bun test --watch

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

速度很快。