To let us test anything with timers easily, which includes testing anything that calls setTimeout or setInterval, we call jest.useFakeTimers() to let us ...
確定! 回上一頁