ai-cfia / ai-cfia/github-workflows

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

Ouverte
#107 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
good first issue
Langage dominant
Aucune donnée de langage
Étoiles
2
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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_

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.