Closed OhB00 closed 2 months ago
Hey @OhB00 and thanks for reporting
So far you need to set the dev: true
when testing with NuxtHub as it uses Cloudflare bindings for production.
await setup({
server: true,
dev: true, // <-- required
});
Feel free to checkout our tests: https://github.com/nuxt-hub/core/tree/main/test
Describe the bug Essentially, I cannot get tests to run when the
@nuxthub/core
module is installed. I don't have any concrete evidence that NuxtHub is the cause, but I cannot find any other configuration change that resolves this issue. It seems like it is loosely linked.Steps to reproduce Steps to reproduce the behavior:
pnpm test
.@nuxthub/core
module fromnuxt.config.ts
Expected behavior Tests should work the same regardless.