ai-cfia / github-workflows

Reusable github workflows
MIT License
2 stars 0 forks source link

Testing of Vite (React) repositories should fail when no tests are present #107

Open rngadam opened 8 months ago

rngadam commented 8 months ago
          apparently if there are no tests with ```npm test``` the test suite still "passes". 

image

1) npm test command should be updated to run vitest 2) by default, the Github workflow should fail when no tests are present

Originally posted by @rngadam in https://github.com/ai-cfia/nachet-frontend/issues/108#issuecomment-2022881160