Closed eric-ships closed 2 months ago
This PR prototypes a simple solution of testing Communicator.
Given the async nature of message passing, this is a prototype of a simple solution to queue up message events and then dispatch them every 200ms.
If this proposal is accepted, the plan would be to keep iterating forward and, ultimately, move these test helpers into its own module.
Unit tests
Summary
This PR prototypes a simple solution of testing Communicator.
Given the async nature of message passing, this is a prototype of a simple solution to queue up message events and then dispatch them every 200ms.
If this proposal is accepted, the plan would be to keep iterating forward and, ultimately, move these test helpers into its own module.
How did you test your changes?
Unit tests