🐛 Fix: retour JSON contact

This commit is contained in:
2026-02-04 22:33:46 +01:00
parent f051f3738e
commit 9f89294952
11 changed files with 218 additions and 39 deletions

View File

@@ -10,6 +10,8 @@ $content = file_get_contents(__DIR__ . '/../assets/js/contact-form.js');
assertTrue(strpos($content, 'class ContactFormSubmit') !== false, 'missing ContactFormSubmit');
assertTrue(strpos($content, 'fetch(') !== false, 'missing fetch');
assertTrue(strpos($content, 'response.text') !== false, 'missing response.text');
assertTrue(strpos($content, 'JSON.parse') !== false, 'missing JSON.parse');
assertTrue(strpos($content, 'submit-text') !== false, 'missing submit-text');
assertTrue(strpos($content, 'submit-loading') !== false, 'missing submit-loading');
assertTrue(strpos($content, 'setLoadingState') !== false, 'missing loading state');