Files
bun.sh/docs/test/hot.md
2023-05-21 01:29:57 -07:00

723 B

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.

{% raw %}

"bun test --watch url" in a large folder with multiple files that start with "url" pic.twitter.com/aZV9BP4eFu

— Jarred Sumner (@jarredsumner) March 29, 2023
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

{% /raw %}