Missing dist/quasar.esm.prod.js breaks unit tests (webpack + jest) #17184
Labels
area/app-ext
area/cli
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-webpack
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
Actually very similar to #14391
The latest version of "@quasar/quasar-app-extension-testing-unit-jest": "^3.0.0-beta.7" relies on the existence of
quasar/dist/quasar.esm.prod.js
, as referenced in@quasar/quasar-app-extension-testing-unit-jest/jest-preset.mjs
(in the moduleNameMapper).Without it all tests that use
installQuasarPlugin
fail with this message:but the file is not available anymore in
quasar/dist
:Used packages:
"@quasar/app-webpack": "^4.0.0-beta.15"
"@quasar/quasar-app-extension-testing-unit-jest": "^3.0.0-beta.7"
P.s: I first opened an Issue in quasar-testing, but I suppose this repository is a better place for this issue.
What did you expect to happen?
to be able to run the unit tests
Reproduction URL
https://stackblitz.com/edit/quasarframework-webpack-onarqw
How to reproduce?
"@quasar/app-webpack": "^4.0.0-beta.15"
"@quasar/quasar-app-extension-testing-unit-jest": "^3.0.0-beta.7"
npm i
npm run dev
)npm run test:unit
Flavour
Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite), App Extension API
Platforms/Browsers
No response
Quasar info output
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: