TypeError: Cannot read property 'id' of undefined in Jest

前端 未结 0 715
清酒与你
清酒与你 2020-11-30 06:50

My test case is failing, saying TypeError: Cannot read property \'id\' of undefined. This is what I am doing in code -

act(() => {
        w         


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