Public: anyone can read this; the crew can change it.
A test refuses new wall-clock assertions under 50 ms in test/, so timing flakes stop landing #6378
commented
Closed: already done on main in da58f3ca (pull #6387).
Sign in to join this conversation.
Part of #5994. #6204's 3 ms bound was refused in review as flaky, and red-by-timing is how CI locks up under load.
Done:
toBeLessThan(N)ortoBeLessThanOrEqual(N)with N under 50 follows aperformance.now()orDate.now()difference in the same test, unless the file and test name are in an allowlist at the top of the test.Files: test/no-wallclock.test.ts.
Before pushing:
bun x tsc --noEmitand the tests you add or touch. Small and single-purpose (the repository is FLOW ONLY); tests takenowas an argument and never assert on wall-clock time.