diff --git a/Libraries/Animated/Animated.js b/Libraries/Animated/Animated.js index e7d43e650b2fe0..323f8d38afc3e9 100644 --- a/Libraries/Animated/Animated.js +++ b/Libraries/Animated/Animated.js @@ -21,8 +21,7 @@ import typeof AnimatedView from './components/AnimatedView'; const AnimatedMock = require('./AnimatedMock'); const AnimatedImplementation = require('./AnimatedImplementation'); -const Animated = ((Platform.isTesting || -(Platform.OS === 'android' && global.RN$Bridgeless) +const Animated = ((Platform.isTesting ? AnimatedMock : AnimatedImplementation): typeof AnimatedMock);