fix(desktop): SkillsView tests no longer cascade-fail on slow CI runners

The whole test file legitimately runs ~14s on CI (heavy dynamic import paid
by the first test), brushing the global 15s per-test budget. Slow runners
tip the first test over and cascade-fail all 11 — hit twice in a row on PR
#93612 and on a main run in the same hour. Raise the file's describe-level
timeout to 60s; individual tests still run in milliseconds locally.

Sabotage-verified: timeout:1 fails all 11, 60s passes all 11.
This commit is contained in:
Teknium
2026-08-24 00:35:55 -07:00
parent 45aa0dc33e
commit a1c5e515b7
+6 -1
View File
@@ -104,7 +104,12 @@ afterEach(() => {
queryClient.clear()
})
describe('SkillsView toolset management', () => {
// SkillsView is a heavy module: the first test pays the whole dynamic-import
// cost, and the file legitimately runs ~14s on CI runners — right against the
// global 15s per-test budget, so slow runners cascade-fail all 11 tests
// (2× in a row on PR #93612, plus a main run the same hour). Give this file
// headroom; the tests are not slow individually.
describe('SkillsView toolset management', { timeout: 60_000 }, () => {
it('renders a switch for each toolset and toggles it off', async () => {
await renderSkills()