-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
Describe the bug
This can be recreated by setting up a default project using npx sv create.
Steps:
npx sv create- Choose
SvelteKit minimal - Use Typescript ->
Yes - What would you like to add to your project?
-
vitest -
sveltekit-adapter
-
- Which SvelteKit adapter would you like to use?
cloudflare-pages
- Package manager ->
pnpm - cd into the project and run
pnpm test
Result
close timed out after 10000ms
Tests closed successfully but something prevents Vite server from exiting
Remove/don't add the «adapter-cloudflare» and the tests run fine.
Reproduction
Repo with reproduction: https://github.com/jornki/cf-adapter-bug
Output from pnpm list
devDependencies:
@sveltejs/adapter-cloudflare 5.0.1
@sveltejs/kit 2.16.1
@sveltejs/vite-plugin-svelte 5.0.3
svelte 5.19.2
svelte-check 4.1.4
typescript 5.7.3
vite 6.0.11
vitest 3.0.4
Logs
System Info
MacOS 15.2
Tested in TerminalSeverity
annoyance
Additional Information
No response