Update jest to the newest version #4047
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
🟧 priority: high
Stalls work on the project or its dependents
🧱 stack: frontend
Related to the Nuxt frontend
Problem
The version of jest we are currently using is very old.
Description
Update jest and jest-related packages.
Alternatives
An alternative would be to move to vitest. This might require a lot of refactoring and should probably be attempted after Nuxt 3 migration.
Additional context
Jest packages are currently preventing us from using
script setup
in Vue components. This is the newish way of writing the component script that would allow easier pruning of unused variables.The text was updated successfully, but these errors were encountered: