-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
Description
Environment
- Operating System: Linux
- Node Version: v24.11.0
- Nuxt Version: 4.1.3
- CLI Version: 3.29.0
- Nitro Version: 2.12.9
- Package Manager: pnpm@10.21.0
- Builder: -
- User Config: modules, imports, devtools, runtimeConfig, compatibilityDate, vite, testUtils
- Runtime Modules: @nuxt/test-utils/module@3.20.1, ~/modules/custom
- Build Modules: -
Reproduction
https://github.com/OrbisK/test-utils-fork/tree/test/mock-import-middleware
cd examples/app-vitest-fullpnpm ipnpm test:unit mount-suspended
Describe the bug
the useTrue composable is not mocked when used inside middleware
Additional context
No response