Разные фиксы (#8)
Tests / frontend-test (push) Successful in 1m20s

Co-authored-by: gorbenko.pavel <gorbenko.pavel@tansu.kz>
Reviewed-on: http://git.tnsu.kz/timur.gorodetskiy/request-portal/pulls/8
This commit was merged in pull request #8.
This commit is contained in:
2026-08-18 08:45:42 +00:00
parent 5b2c062e81
commit 3a71d0df1f
22 changed files with 497 additions and 67 deletions
+7
View File
@@ -295,6 +295,13 @@ module.exports = {
'@microsoft/spfx/no-require-ensure': 2,
}
},
{
// Файлы локализации SPFx (loc/*.js) — это AMD-модули: их подключает
// загрузчик страницы через define(), а не бандлер. Без объявления среды
// no-undef считает define необъявленной переменной.
files: ['**/loc/*.js'],
env: { amd: true }
},
{
// For unit tests, we can be a little bit less strict. The settings below revise the
// defaults specified in the extended configurations, as well as above.