James Russo

James Russo

Engineering at Brex

Fullstack engineer who knows nothing about design.
Example: this website.

Bored Hacking

1 post tagged with "Jest"

Mocking Sentry in Jest and Gatsby

68.calendarSeptember 23, 2019 | 2 min read

This is a very short and simple tutorial describing how to mock Sentry in the Jest testing framework and more specifically in a Gatsby.js application. This approach can be used in other javascript frameworks that use Jest, but I will use Gatsby.js and their unit testing tutorial as a basis.

All tags
© 2021 James Russo. All Rights Reserved, Built with Gatsby