Testing a component within a context provider that provides state of parent component fails

前端 未结 0 1695
小鲜肉
小鲜肉 2020-12-06 20:14

I am trying to test my Login Component that is embedded in a Context. Provider in the App:

function App() {
    const [user, setUser] = useState(null);

    c         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题