Explorar el Código

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

maziggy hace 1 día
padre
commit
92c307786a
Se han modificado 1 ficheros con 2 adiciones y 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