-
Notifications
You must be signed in to change notification settings - Fork 10.6k
fix(test): move timeout config to CLI flag #13494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,7 @@ | |
| "private": true, | ||
| "scripts": { | ||
| "typecheck": "tsgo --noEmit", | ||
| "test": "bun test", | ||
| "test": "bun test --timeout 30000", | ||
|
||
| "build": "bun run script/build.ts", | ||
| "dev": "bun run --conditions=browser ./src/index.ts", | ||
| "random": "echo 'Random script updated at $(date)' && echo 'Change queued successfully' && echo 'Another change made' && echo 'Yet another change' && echo 'One more change' && echo 'Final change' && echo 'Another final change' && echo 'Yet another final change'", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment says “timeout is not actually parsed from bunfig.toml”, but it’s specifically the
[test].timeoutfield that Bun currently ignores (while[test].preloadis still used). Consider rewording to avoid implying Bun ignores the whole bunfig file, and (optionally) mention the Bun version(s) affected for future readers.