Repository navigation
Commit 401ada6
test: allow time for the Playwright type check on slow runners (#3082)
`checks Playwright options with only declared dependencies available` in
`packages/cli/src/__tests__/exports-map.spec.ts` timed out on all three
attempts of `CLI E2E test (Linux x64 musl)` on the `release: v1.3.0` PR
(#3079), and passed on the other platforms. This PR gives it a 15 s
timeout, the same as the slow template test in
`register-template.spec.ts`.
It is the first test in the file to run a full TypeScript program, so it
also pays for TypeScript's warm-up. On the musl runner it normally stays
under the 5 s default, but it has little margin:
| Run | Test | Whole `exports-map.spec.ts` |
| --- | --- | ---: |
| `main` (6 recent runs) | 1847 to 3432 ms | 19.9 s |
| #3079 (3 attempts) | 5206 to 5496 ms (timed out) | 29.1 s |
Every test in the file ran slower on the #3079 runner, not only this
one, so the failure comes from runner speed rather than from the release
changes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent afbe4a2 commit 401ada6
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
113 | | - | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| |||
0 commit comments