RepoSense icon indicating copy to clipboard operation
RepoSense copied to clipboard

Add Jest for frontend testing

Open zhoukerrr opened this issue 1 year ago • 1 comments

What feature(s) would you like to see in RepoSense

Currently, Cypress is the only tool for frontend testing. While it is an excellent choice for end-to-end tests, it is not ideal for unit tests. Using Cypress for unit tests will take up too much time. By adding Jest, we will be able to catch more regression bugs quickly.

We will also need to add code coverage for jest tests and integrate with the CI.

zhoukerrr avatar May 07 '23 12:05 zhoukerrr

I suggest we use Vitest instead because vue-cli is being put on maintenance and its suggested replacement create-vue runs on Vite.

sopa301 avatar Mar 11 '24 11:03 sopa301