test: DevisController services/events/cancel/generatePdf coverage + JS fix
- DevisControllerTest : +5 tests services (ndd, website, esymail, default, not found) - istanbul ignore next placement fix (avant la ligne, pas inline) 1392 PHP tests, 115 JS tests Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -364,7 +364,8 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
fetch('/admin/prestataires/entreprise-search?q=' + encodeURIComponent(q))
|
||||
.then(r => r.json())
|
||||
.then(data => {
|
||||
const results = data.results || []; /* istanbul ignore next */
|
||||
/* istanbul ignore next */
|
||||
const results = data.results || [];
|
||||
if (results.length === 0) {
|
||||
siretResults.innerHTML = '<p class="text-xs text-gray-400 p-2">Aucun resultat.</p>';
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user