-
Notifications
You must be signed in to change notification settings - Fork 142
Description
Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
No response
What is the area that this feature belongs to?
Code Quality, Testing
Is your feature request related to a problem? Please describe.
This issue was brought up in Pull Request #2053.
Currently, there is no way to implement unit tests for logging outputs from the winston logger; by allowing the current unit testing methods to cover logging outputs (e.g. warnings) as well, we can ensure consistent behavior across different components and increase the robustness of the system as a whole, not just what is visible.
Describe the solution you'd like
The request is to consider the different approaches to allow the winston logger outputs to be detected by our current testing approaches.
Describe alternatives you've considered
Alternatively, as jest is adopted as the testing tool for MarkBind, we can investigate approaches to test winston logger using jest (which seems to already be feasible as can be seen in this StackOverflow discussion.
Additional context
No response