cdav-library
cdav-library copied to clipboard
Migrate tests from karma + jasmine to jest (or vitest) and get rid of webpack
Is your feature request related to a problem? Please describe.
The tests currently require to be transpiled by webpack in order to run. We could drop webpack entirely if we migrate tests.
Describe the solution you'd like
Migrate test from karma + jasmine to jest (or vitest).
Describe alternatives you've considered
Leave the tests untouched. Webpack isn't going anywhere soon and tests aren't shipped anyway so we don't run into vulnerabilities regarding unmaintained test frameworks.
Additional context
There is an automatic test code migration tool for jest. I tried it and it works quite good. However, it fails to convert some of the mocks which need to be migrated manually.
Once we are on jest it is trivial to migrate to vitest.
npx jest-codemods