refactor(tests): update package.json scripts for linting and testing; enhance CI workflows for linting and testing integration
Frontend CI / frontend (push) Successful in 10m38s

This commit is contained in:
2026-03-15 23:29:24 +07:00
parent 164507513c
commit e529aa23ec
46 changed files with 519 additions and 146 deletions
+2 -2
View File
@@ -190,7 +190,7 @@ function CommunitiesManager() {
setLoading(true);
try {
// не отправляем служебное поле _external
const payload = data.map(({ _external, ...rest }) => rest);
const payload = data.map(({ _external: _, ...rest }) => rest);
await api.post(`/communities`, { communities: payload });
setSuccess('Справочник сохранён!');
setTimeout(() => setSuccess(''), 3000);
@@ -302,7 +302,7 @@ function CommunitiesManager() {
});
return Array.from(map.values());
});
} catch (e) {
} catch (_e) {
setError('Неверный JSON.');
}
};