ai-cfia / ai-cfia/github-workflows

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

Open
#107 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
No language data
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.