nitro icon indicating copy to clipboard operation
nitro copied to clipboard

Nitro tests do not run in folder with special characters (e.g. space)

Open manniL opened this issue 1 year ago • 0 comments

Environment

WSL (Ubuntu 20.4) (also tested on classic windows) Nitro repo from commit https://github.com/unjs/nitro/commit/d1d1015228f5297741951e596079900816241f50

Reproduction

  1. Create a folder temp space
  2. cd into it
  3. Clone the nitro repo
  4. pnpm i
  5. 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

manniL avatar Aug 29 '22 20:08 manniL