diff --git a/docs/docs/guide/testing.md b/docs/docs/guide/testing.md index d3d9bee5ec8..659897956df 100644 --- a/docs/docs/guide/testing.md +++ b/docs/docs/guide/testing.md @@ -42,7 +42,7 @@ If you have custom babel configuration for testing, make sure that Reanimated's #### Timers You can use jest timers to control animation ```js -jest.useFakeTimers(); +jest.useFakeTimers(); // jest.useFakeTimers('legacy') for jest >= 27 // call animation jest.runAllTimers(); ```