Tweak crash handler for linux

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jarred Sumner
2025-08-04 23:30:34 -07:00
parent 408fda7ad2
commit 0612f459a4
3 changed files with 51 additions and 27 deletions

View File

@@ -81,6 +81,14 @@ await promise;
If it's several callbacks, it's okay to use callbacks. We aren't a stickler for this.
### No timeouts
**CRITICAL**: Do not set a timeout on tests. Bun already has timeouts.
### Use port 0 to get a random port
Most APIs in Bun support `port: 0` to get a random port. Never hardcode ports. Avoid using your own random port number function.
### Creating temporary files
Use `tempDirWithFiles` to create a temporary directory with files.