How to mock Context for class component wrapped in a function

后端 未结 0 916
慢半拍i
慢半拍i 2020-11-21 05:05

I had this test:

describe(\'exportData\', () => {
    const exportData = jest.fn();

    const props = {
        endDate: \'2020-03-13\',
        actualRep         


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