My project setup consists of a single folder containing only icons. I used the command vue create .
For testing, I decided to go with Jest and didn't make any additional configurations. When I try to run npm run test:unit
, I encounter the following error message:
● Validation Error:
Module @vue/cli-plugin-unit-jest should have "jest-preset.js" or "jest-preset.json" file at the root.
Configuration Documentation:
https://jestjs.io/docs/configuration.html
Can anyone help me with this issue?