@mrbbot Do queue consumers receive messages in the `vitest` environment? I have a worker that's bot

@mrbbot Do queue consumers receive messages in the vitest environment? I have a worker that's both the producer & consumer of a queue, and in a test I'm calling worker.fetch directly via an import of
main
. worker.fetch sends a message to the queue. As far as I can tell, worker.queue is never called as a result of this send. Is that expected? Is there an idiomatic way to E2E test a queue like this in the vitest environment?
Was this page helpful?