GeezerVison is showing github.com — fix(test): move timeout config to CLI flag (#13494) · AIALRA-0/opencode-turn-engine@8909778
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: packages/opencode/bunfig.toml +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -2,4 +2,6 @@ preload = ["@opentui/solid/preload"] |
2 | 2 |
|
3 | 3 | [test] |
4 | 4 | preload = ["./test/preload.ts"] |
5 | | -timeout = 30000 # 30 seconds - allow time for package installation |
| 5 | +# timeout is not actually parsed from bunfig.toml (see src/bunfig.zig in oven-sh/bun) |
| 6 | +# using --timeout in package.json scripts instead |
| 7 | +# https://github.com/oven-sh/bun/issues/7789 |
Collapse file
Copy file name to clipboardExpand all lines: packages/opencode/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
7 | 7 | "private": true, |
8 | 8 | "scripts": { |
9 | 9 | "typecheck": "tsgo --noEmit", |
10 | | - "test": "bun test", |
| 10 | + "test": "bun test --timeout 30000", |
11 | 11 | "build": "bun run script/build.ts", |
12 | 12 | "dev": "bun run --conditions=browser ./src/index.ts", |
13 | 13 | "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'", |
|