Closed aidando73 closed 1 year ago
If we extract the message formatter as a separate component, we can do unit tests on that as well
Or just as separate functions tbh - I think we should have components that render the messages. And the logic to format should be in there.
Extract some functions and unit test whatever logic you can.
This can then build and form the basis for larger integration/component tests