quasarframework / quasar-testing

Testing Harness App Extensions for the Quasar Framework 2.0+
https://testing.quasar.dev
MIT License
179 stars 66 forks source link

Unable to run 'vitest' initial template #344

Closed srackhall closed 11 months ago

srackhall commented 11 months ago

image

Error as shown in the figure above

Reproduction steps:

After deleting the statement shown in the figure below, I will no longer report this error.

image

I am a novice and installing 'quasar' for the first time. Perhaps this was not an error, and I am not even sure about the purpose of 'installQuasar()'. Therefore, if it is my own problem, please close this issue directly without replying to me.

Software version OS: win10 Node: v18.17.0 NPM: 9.6.7

IlCallo commented 11 months ago

Hi, installQuasar should be installQuasarPlugin, not sure how did you end up with that package version Can you provide a repro, so that I can take a look at it?

Check out the docs here and try using package.json scripts directly, instead of quasar test to see if that helps

IlCallo commented 11 months ago

Ok, I noticed the problem, we still install the version tagged as alpha for Vitest AE when using the tests manager, we need to update that

IlCallo commented 11 months ago

Published a fix to use latest tag for Vitest, check out if that solves your problem by using latest available Vitest AE version

srackhall commented 11 months ago

Hi!

Thank you. After using Quasar to make the following updates, this error has been successfully resolved.

image