useFakeTimers() const {result, waitForNextUpdate} ... advanceTimersByTime(500); }) await waitForNextUpdate() expect(result.current.
確定! 回上一頁