nitro
nitro copied to clipboard
Nitro tests do not run in folder with special characters (e.g. space)
Environment
WSL (Ubuntu 20.4) (also tested on classic windows) Nitro repo from commit https://github.com/unjs/nitro/commit/d1d1015228f5297741951e596079900816241f50
Reproduction
- Create a folder
temp space
-
cd
into it - Clone the nitro repo
-
pnpm i
-
pnpm t
Describe the bug
The tests fail to run because the server entrypoint (index.mjs
) can't be found. Likely due to https://github.com/unjs/nitro/blob/main/src/prerender.ts#L33 + using e.g. spaces
Additional context
No response
Logs
No response