Categories
Mastering Development

Testing of Nested React components using React-Test-Renderer

I have a pure React-Redux application and it is working as expected. The App.js import React, { useEffect } from “react”; import { useDispatch } from “react-redux”; import { Router, Route, Switch, Redirect } from “react-router-dom”; import history from “../history”; import LandingPage from “./home/LandingPage”; import { displayModules } from “../actions”; import Cart from “./home/Cart”; const […]