How to test console output (console.log, console.warn) with RTL (React-Testing-Library) and Jest

What if inside your React component you have console.log or console.warn method and want to check if console output is visible?Continue reading on Medium »

Link: https://medium.com/@the_teacher/how-to-test-console-output-console-log-console-warn-with-rtl-react-testing-library-and-jest-6df367736cf0?source=rss——javascript-5