Closed khteh closed 7 months ago
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
https://github.com/quasarframework/quasar-testing/issues/361
I started a new Quasar project from scratch and migrated my files, add Jest and Cypress but still don't get Jest to work.
https://github.com/khteh/Quasar
Software version
OS: Ubuntu 23.10 Node: v21.5.0 NPM: 10.4.0 Any other software related to your bug:
What did you get as the error?
What were you expecting?
What steps did you take, to get the error?