T&S

  • Need a Dev?

Category: Testing

How to Mock the Date in Jest Consistently

Last Updated: 2 September 2020

Struggling to mock the Date in Jest using CRA? Need consistant global Date testing for React? This article provides the solution.

React Jest Tests Failing Using Lottie.js Solved

Last Updated: 9 August 2020

TypeError: Cannot set property 'fillStyle' of null when using lottie-react in Jest testing solved.

By Robert Marshall & Gatsby