Reorganise repo to use vitest instead of jest#387
Conversation
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
jest with vitest everywherevitest instead of jest
opinion (non-blocking): I don't know that this is necessarily an improvement for unit tests. Integration tests are a different beast, so no objections there. |
I was going to leave the unit tests in |
- change `unit.test.ts` files including mocks to `mock.test.ts` - add `mock.test.ts` to `integration` project
This PR refactors and reorganises the repository to better isolate tests from the source of the package while also migrating from
jesttovitest. In doing so, it also bumps dependencies, e.g. oftypescript, and removes unused/outdated packages. Any issues in the src found through the test refactoring are also fixed.