React Jest Testing : Mock this Custom React hook

前端 未结 0 682
半阙折子戏
半阙折子戏 2021-01-12 23:58

I am using this to store state in a React app(hooks based) instead of redux.

import React, { createContext, useContext, useReducer } from "react";         


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