Fixes CI test timeouts on the arm64 runner
The first render with axe takes up to 7 s on the Raspberry Pi runner, above Vitest's 5 s default; the suite now allows 20 s per test. Also silences the router warning in the test that crashes a page on purpose, and makes the nginx test config return 404 instead of a redirect loop (500) while the test folder is still empty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -117,10 +117,12 @@ ${block(' ', ['add_header Cache-Control "public, max-age=31536000, immuta
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
# SPA-fallback: onbekende paden krijgen index.html (de router toont de 404)
|
||||
# SPA-fallback: onbekende paden krijgen index.html (de router toont de 404).
|
||||
# =404 aan het eind: zonder index.html (lege map) een 404 in plaats van een
|
||||
# doorverwijzingslus die nginx als 500 afbreekt
|
||||
location / {
|
||||
${block(' ', ['add_header Cache-Control "no-cache" always;'])}
|
||||
try_files $uri $uri/ /index.html;
|
||||
try_files $uri $uri/ /index.html =404;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user