88 * @emails oncall+react_native
99 */
1010
11+ import AnimatedProps from '../nodes/AnimatedProps' ;
1112import TestRenderer from 'react-test-renderer' ;
1213import * as React from 'react' ;
1314
@@ -21,6 +22,7 @@ jest.mock('../../BatchedBridge/NativeModules', () => ({
2122} ) ) ;
2223
2324let Animated = require ( '../Animated' ) ;
25+
2426describe ( 'Animated tests' , ( ) => {
2527 beforeEach ( ( ) => {
2628 jest . resetModules ( ) ;
@@ -32,7 +34,7 @@ describe('Animated tests', () => {
3234
3335 const callback = jest . fn ( ) ;
3436
35- const node = new Animated . __PropsOnlyForTests (
37+ const node = new AnimatedProps (
3638 {
3739 style : {
3840 backgroundColor : 'red' ,
@@ -786,7 +788,7 @@ describe('Animated tests', () => {
786788
787789 const callback = jest . fn ( ) ;
788790
789- const node = new Animated . __PropsOnlyForTests (
791+ const node = new AnimatedProps (
790792 {
791793 style : {
792794 opacity : vec . x . interpolate ( {
@@ -890,7 +892,7 @@ describe('Animated tests', () => {
890892 const value3 = new Animated . Value ( 0 ) ;
891893 const value4 = Animated . add ( value3 , Animated . multiply ( value1 , value2 ) ) ;
892894 const callback = jest . fn ( ) ;
893- const view = new Animated . __PropsOnlyForTests (
895+ const view = new AnimatedProps (
894896 {
895897 style : {
896898 transform : [
0 commit comments