Which Cloudflare product(s) does this pertain to?
Wrangler
What versions are you using?
3.111.0 [Wrangler]
What operating system and version are you using?
Mac 15.3.1 (24D70)
Please provide a link to a minimal reproduction
No response
Describe the Bug
WAE mocking for wrangler dev was added, but it seems to be tied to the condition targetConsumer === "dev".
This will not always be the case when running vitest, e.g., if you need to point your tests to built files for other reasons.
Please provide any relevant error logs
No response