Comments (1)
You can't get Jest to work because your pages are full of runtime errors and Quasar compilation is probably breaking before even reaching Jest
E.g. if you enable TS on Fibonacci.vue
you'll get an error on the computed property there, multiple errors actually.
Fix the computed property definition and the test will pass
I'm sorry, but I just wasted an hour on this and the similar Cypress issue, and they ended up being, as all other issues you opened, just problems in your code and not with the library
This repo isn't a Q&A forum or a free consultancy service
If you have questions, ask on Quasar Discord or on StackOverflow
If you need professional support, you can get it here: https://github.com/sponsors/dreamonkey
Otherwise, please don't open any more issues unless you're sure there's a bug in the libraries and you can pin-point both the problem and the solution by yourself and I just need to check it and apply the fix
from quasar-testing.
Related Issues (20)
- Simple select component randomly fails test HOT 22
- Unable to run 'vitest' initial template HOT 4
- Setting up a fresh project and creating unit-testing + vitest fails HOT 2
- Feature request: Cypress v13 HOT 3
- test:e2e command of Quasar-Cypress test harness stalls on Windows 11 HOT 2
- Type error in configuration after installation quasar ext add @quasar/testing-unit-vitest HOT 8
- Options param is not forwarded to click method (quasar-app-extension-testing-e2e-cypress) HOT 2
- How to trigger an event in my jest test? HOT 1
- Proposal: new QDialog helper commands HOT 1
- Module vue-jest in the transform option was not found HOT 3
- error TS2339: Property 'dataCy' does not exist on type 'cy & CyEventEmitter' HOT 5
- `q-select` multiple selection behaves strangely in cypress component test HOT 7
- Update `start-server-and-test` in package `e2e-cypress` HOT 1
- `"test:e2e"` does not open up Cypress and `"test:e2e:ci"` does not complete at all. HOT 2
- `Module not found: Can't resolve imported dependency "./commands"` HOT 6
- TypeError: Cannot set property mark of #<Object> which has only a getter HOT 2
- `Do not import @jest/globals outside of the Jest test environment` HOT 1
- quasar-app-extension-testing-e2e-cypress depends on vulnerable libraries HOT 3
- Cypress doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quasar-testing.