Niccolo Lampa
The Data Life

The Data Life

Testing and Mocking React ContextAPI With Jest and React Testing Library

Jan 2, 20227 min read

In this article we will discuss how to test and mock React ContextAPI using Jest and React Testing Library (React Testing Library). We will create a basic application and demo how to mock a contextAPI provider and consumer for a component unit test....

Testing and Mocking React ContextAPI With Jest and React Testing Library
Setting up Dapr Redis NestJS Pub Sub Via Docker-Compose
Managing SSH Access via AWS Session Manager
Increase The Disk Size of EC2 Ubuntu Instance
Using AWS CodeDeploy to Auto Deploy Code to EC2
Deploying Angular App with Docker and Nginx