Explorar o código

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

maziggy hai 1 día
pai
achega
92c307786a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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