From 17d7ad86a068929603e9d18a2d8e43d86c2acf54 Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Sat, 3 Jan 2026 18:43:24 -0600 Subject: [PATCH] feat(tests): update Taskfile to exclude i18n tests from frontend tests and add dedicated language tests for Node.js and Python --- Taskfile.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 5fa443c..dfae82a 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -104,7 +104,13 @@ tasks: test-frontend: desc: Run frontend tests using vitest cmds: - - "{{.NPM}} run test" + - "{{.NPM}} run test -- --exclude tests/frontend/i18n.test.js" + + test-lang: + desc: Run language and localization tests + cmds: + - "{{.NPM}} run test tests/frontend/i18n.test.js" + - "poetry run pytest tests/backend/test_translator_handler.py" gen-locale-template: desc: Generate a locales.json template with empty values from en.json @@ -113,7 +119,7 @@ tasks: test: desc: Run all tests - deps: [test-python, test-frontend] + deps: [test-python, test-frontend, test-lang] test:cov: desc: Run all tests with coverage reports