ci: use --testTimeout instead of --test-timeout#1121
ci: use --testTimeout instead of --test-timeout#1121colinaaa merged 1 commit intolynx-family:mainfrom
--testTimeout instead of --test-timeout#1121Conversation
|
CodSpeed Performance ReportMerging #1121 will not alter performanceComparing Summary
|
React Example#1859 Bundle Size — 233.47KiB (0%).1d8c886(current) vs 6137fba main#1849(baseline) Bundle metrics
|
| Current #1859 |
Baseline #1849 |
|
|---|---|---|
0B |
0B |
|
0B |
0B |
|
0% |
37.34% |
|
0 |
0 |
|
4 |
4 |
|
145 |
145 |
|
56 |
56 |
|
45.66% |
45.66% |
|
2 |
2 |
|
0 |
0 |
Bundle size by type no changes
| Current #1859 |
Baseline #1849 |
|
|---|---|---|
145.76KiB |
145.76KiB |
|
87.71KiB |
87.71KiB |
Bundle analysis report Branch colinaaa:colin/0620/timeout Project dashboard
Generated by RelativeCI Documentation Report issue
Web Explorer#1848 Bundle Size — 257.82KiB (0%).1d8c886(current) vs 6137fba main#1838(baseline) Bundle metrics
Bundle analysis report Branch colinaaa:colin/0620/timeout Project dashboard Generated by RelativeCI Documentation Report issue |
## Summary <!-- Can you explain the reasoning behind implementing this change? What problem or issue does this pull request resolve? --> The `beforeAll` hook of `tools/tailwind-preset/src/__tests__/config.test.ts` is failing all the time on Windows. I'm not sure why does setting `--hookTimeout` not working (#1113, ##1121). ``` FAIL tools/tailwind-preset src/__tests__/config.test.ts > Lynx Tailwind Preset Error: Hook timed out in 10000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ``` <!-- It would be helpful if you could provide any relevant context, such as GitHub issues or related discussions. --> Also, the `__tests__` and `.js.map` are excluded from `package.json#files` to reduce package size. ## Checklist <!--- Check and mark with an "x" --> - [x] Tests updated (or not required). - [ ] Documentation updated (or not required).
Summary
Vitest docs: https://vitest.dev/guide/cli.html#testtimeout
Checklist