Mocking in Jest can be tricky. Mocking React Components in Jest with ES modules can be even tricker. Yet it’s still possible.
Learn how to use WebSockets and NodeJS to create a simple app to stream system logs to the browser in real time.
Sign up to receive a weekly recap from thoughtbot