1 post tagged with "Jest"
Mocking Sentry in Jest and Gatsby
September 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.