Unfortunately because Jest mocks setTimeout, setTimeout fails. If I run jest.runAllTimers() , the timeout happens instantaneously, so fails to pick up the ...
確定! 回上一頁