Timeout - Async call back not invoked when using jest.useFakeTimers('modern') and jest.setSystemTime()

后端 未结 0 634
情书的邮戳
情书的邮戳 2021-01-18 04:19

I am trying to mock today\'s date using jests timing functions.

Previously, I was mocking out dayjs with the following mock:

jest.mock(\'d         


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