
Tag: useEffect
reactjs – How to test React.js page that uses Context and useEffect?
I’m having trouble testing a page that has Context and useEffect using Jest and Testing-library, can you help me? REPO: github.com/jefferson1104/padawan My Context: src/context/personContext.tsx import { createContext, ReactNode, useState }…