QwikDev / astro

Qwik + Astro integration
216 stars 13 forks source link

[🐛 ] Vitest not working with Components, followup #35

Closed yoroshikun closed 11 months ago

yoroshikun commented 11 months ago

Issue

This is a follow up for the test issue here

Here is the reproduction. Running build or test (simplest way is useing this dropdown) will error in slightly different ways described above. image

TEST Error: Optimizer should replace all usages of $() with some special syntax. If you need to create a QRL manually, use inlinedQrl() instead.

Build

"fileURLToPath" is not exported by "__vite-browser-external", imported by "node_modules/@builder.io/qwik/testing/index.mjs".
file: /Users/me/projects/personal/site/node_modules/@builder.io/qwik/testing/index.mjs:22378:9
22376: // packages/qwik/src/testing/platform.ts
22377: import { existsSync } from "fs";
22378: import { fileURLToPath } from "url";
thejackshelton commented 11 months ago

Ah thank you for reminding me, let me close this one and reopen the old one for the previous context.