You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
st3iny
changed the title
Migrate test from karma + jasmine to jest (or vitest) and get rid of webpack
Migrate tests from karma + jasmine to jest (or vitest) and get rid of webpack
Jun 10, 2024
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
The text was updated successfully, but these errors were encountered: