SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Introduce Fantom.unstable_advanceAnimationsByTime (#51752)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51752

changelog: [internal]

Introduce a way to test animations: `unstable_advanceAnimationsByTime`. An API that fakes passage of time and triggers UI ticks to simulate how animations are run on iOS and Android.

The API is marked as unstable because it might evolve as we write more tests for C++ Animated.

Reviewed By: mdvacca

Differential Revision: D75787082

fbshipit-source-id: 24e29732bbbf581871e7868289257ab60d891ddf
S
Samuel Susla committed
747eb3c8aeba26ac0a909c2dd0e37945d0ce0314
Parent: dd590c5
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 6/3/2025, 11:43:35 AM