HoldYourWaffle
Vitest borked when inside Deno workspace
Not sure if this is just a misconfiguration or a bug somewhere, so I figure I might as well shoot my shot here.
I installed SvelteKit with Vitest, Playwright and Deno as package manager. I had to change some generated
npm
commands to deno
, but otherwise this configuration seems to work great.
I then tried to integrate this setup into a Deno workspace, but that didn't work out so great...
deno task -r test:unit
gives me this odd error:
The file it's referring to definitely exists and seems to contain the expected content.
It seems to be caused by the @testing-library/svelte/vite
import in vite.config.ts
, if I comment out that line (and its dependants) things seem to work smoothly again.
Any ideas on how to solve this?6 replies