From 8f548be91c2e0ac10e61535154b9db19dad7f3b7 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Thu, 4 Jul 2024 13:04:52 -0700 Subject: [PATCH] RSD sync (#45270) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45270 This sync includes the following changes: - **[499d5d3](https://github.com/facebook/react-strict-dom/commit/499d5d3)**: Skip animation setup if no style transitions //// - **[8a98c5d](https://github.com/facebook/react-strict-dom/commit/8a98c5d)**: Remove invalid style properties from shortforms set //// - **[ccb00ff](https://github.com/facebook/react-strict-dom/commit/ccb00ff)**: 0.0.17 //// - **[8cd0eb0](https://github.com/facebook/react-strict-dom/commit/8cd0eb0)**: Reorganize benchmark test and mock files //// - **[ce88e44](https://github.com/facebook/react-strict-dom/commit/ce88e44)**: Add support for experimental React Native style implementations //// - **[111f6b1](https://github.com/facebook/react-strict-dom/commit/111f6b1)**: Install StyleX 0.7.0 //// Reviewed By: amyogit Differential Revision: D59343139 fbshipit-source-id: 672c7db98fd6676edfe42e818d04a96203e1c827 --- packages/react-native/jest/setup.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/react-native/jest/setup.js b/packages/react-native/jest/setup.js index 6bff5a8741c..83f701e1845 100644 --- a/packages/react-native/jest/setup.js +++ b/packages/react-native/jest/setup.js @@ -287,7 +287,14 @@ jest }, PlatformConstants: { getConstants() { - return {}; + return { + reactNativeVersion: { + major: 1000, + minor: 0, + patch: 0, + prerelease: undefined, + }, + }; }, }, PushNotificationManager: {