You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using wallaby with vitest and vitesse.
Vitesse uses auto-importing to import some commonly used code automatically.
The vitest tests are working fine when running npm run test but wallaby doesn't appear to be working with the configuration for auto imports, and as a result, they fail
ReferenceError: reactive is not defined
at src/core/store/permissions.ts:19:3
This has been fixed. Wallaby patches some of the filenames at runtime (adding ?wallaby=${timestamp}) as a part of its runtime / transformation cachebreaker. In the case of unplugin-auto-import, it could not handle filenames ending with ?=wallaby suffix and would never add the auto-imports.
Issue description or question
I'm using wallaby with vitest and vitesse.
Vitesse uses auto-importing to import some commonly used code automatically.
The vitest tests are working fine when running
npm run test
but wallaby doesn't appear to be working with the configuration for auto imports, and as a result, they failThis can be reproduced with this repo
/~https://github.com/antfu/vitesse
How can I get the wallaby vite config to resolve the auto imports correctly?
Wallaby diagnostics report
The text was updated successfully, but these errors were encountered: