2 people reported

All time, since Sep 22.

Preload default timeout ignored

“In directory-form runs, only the first file's tests get the preload timeout.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/bun/issues/5208/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Preload setDefaultTimeout applies only to first test file. In multi-file bun test runs, later files use the 5 s default instead of the preload's setDefaultTimeout() value.

Is this your bug?

File my report
Where
bun test
Error text
this test timed out after 5000ms
Versions
1.4.2 to 1.4.3
Platforms
Linux, Windows
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. bun test: setDefaultTimeout() in a preload applies only to the first file, and a sync block after a timer escapes the timeout#45192
  2. setDefaultTimeout via bunfig [test] preload is ignored for all but the first test file in directory-form bun test runs on 1.4.2 (honored for single-file runs)#43787

Do you work on Bun?

Claim its RAP Sheet to see what your users report and answer them in one place.