mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
dde48fd554
Summary: Change the `TransactionTelemetryTest` to use a mock clock or change the tests to only test if at least x amount of time has passed. Using a mock clock is the only way to make the test deterministic and be able to assert on the sub-results of the captured phases. Changelog: [Internal] Change to the `TelemetryTest`. Neither changes the runtime behavior nor the API. Reviewed By: sammy-SC Differential Revision: D27618448 fbshipit-source-id: 0cbf51b050aabb75341112ea4a43bea0115082f9