跳到主要内容

监视模式

To automatically re-run tests when files change, use the --watch flag:

$ bun test --watch

Bun will watch for changes to any files imported in a test file, and re-run tests when a change is detected.

It's fast.