Browse Source

test: test_frontend.sh hides console output of passing tests (vitest --silent=passed-only)

maziggy 1 day ago
parent
commit
92c307786a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      test_frontend.sh

+ 2 - 1
test_frontend.sh

@@ -22,7 +22,8 @@ knip_rc=$?
 cat /tmp/bambuddy-typecheck.$$ /tmp/bambuddy-lint.$$ /tmp/bambuddy-knip.$$
 rm -f /tmp/bambuddy-typecheck.$$ /tmp/bambuddy-lint.$$ /tmp/bambuddy-knip.$$
 
-npm run test:run
+# Console output of passing tests is hidden; a failing test still shows its own.
+npx vitest run --silent=passed-only && npm run check:i18n
 test_rc=$?
 
 # The production build and its browser baseline check, into a temporary