Commit ab2c31f
committed
test(web): give the auth-redirect suite a budget that fits its work
Each case in client.authRedirect.test.ts calls vi.resetModules() and then
re-imports client.ts, so the file re-evaluates a 6.5k-line module six times.
That exceeds vitest's 5s default once the suite runs workers in parallel, which
failed the run non-deterministically depending on machine load.
Testing: `npm test` in web/ four consecutive times, 400/400 each.1 parent 9d61ef0 commit ab2c31f
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
191 | 193 | | |
192 | 194 | | |
193 | 195 | | |
194 | | - | |
| 196 | + | |
0 commit comments