This repository is for reproducing the following issue that shows that ElementPlus doesn't work with Vitest.
When running Vitest's script for running the unit tests, the following error is displayed:
Error: Cannot find module '/home/projects/github-64cnue/node_modules/lodash/isEqual' imported from /home/projects/github-64cnue/node_modules/element-plus/es/components/time-picker/src/common/picker.mjs Did you mean to import lodash/isEqual.js?
-
Open the StackBlitz Demo ⚡️
-
Run the following script
npm run test