How can I test a state initial with React Hooks component using jest and enzyme

前端 未结 0 1972
悲哀的现实
悲哀的现实 2021-01-18 11:14

I want to write a code that I can testing (Hooks, Jest, Enzyme) this initial state is a array empty

import React from \'react\';

function App(){
  const [gif         


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