vue-chartjs
vue-chartjs copied to clipboard
WIP: Feat/vitest
WIP
Ehancement: Replace Jest with Vitest
Not sure if it adds a lot of value, but I wanted to test the migration as I've done it on vue-chart-3
.
WIP because I still have problem to make Vue files imports work on /legacy
and had to keep Jest for this part.
- [x] All tests passed
Environment
- OS: macOs 12.1
- NPM Version: 8.5.5
@victorgarciaesgi I think we don't need to test legacy components with Vitest. If you want to add a Vitest to the project, it may be better to add it only for Vue 3 and leave Jest for View2. What are you think about this?
@thabarbados Ok! I will test further to see if nothing breaks for vue 3. But it can improve speed and reduce dependencies size!
done in https://github.com/apertureless/vue-chartjs/commit/c664db51c3d39bf9f2d8042dc47bf05b7b9e2bc9