Avoiding message leaks in tests?

Each test runs in a separate process, so it is not possible for messages to leak, unless the “leaked” message is coming from your setup block, which is run on every test.

3 Likes