Fixes CI test timeouts on the arm64 runner
Continuous Integration / check (pull_request) Failing after 6m13s
Continuous Integration / lighthouse (pull_request) Skipped
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / deploy-production (pull_request) Skipped

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:
2026-10-19 00:33:41 +02:00
co-authored by Claude Opus 5.5
parent e6436601a4
commit a8903c9641
6 changed files with 50 additions and 5 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ describe('serverconfiguratie', () => {
const nginx = nginxTestConf();
expect(nginx).toContain('X-Robots-Tag "noindex, nofollow"');
expect(nginx).toContain('Disallow: /');
expect(nginx).toContain('try_files $uri $uri/ /index.html;');
expect(nginx).toContain('try_files $uri $uri/ /index.html =404;');
});
it('het testblok claimt nooit de standaardserver (WordPress op dezelfde Pi)', () => {