ai-cfia / ai-cfia/github-workflows

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

Aperta
#107 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
good first issue
Lingua principale
Nessun dato sulla lingua
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

apparently if there are no tests with ```npm test``` the test suite still "passes".

![image](https://github.com/ai-cfia/nachet-frontend/assets/538542/db2e049b-9055-47dc-9e59-906c7d325b0f)

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_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.