mirror of
https://github.com/zhigang1992/react-native-reanimated.git
synced 2026-04-28 12:25:11 +08:00
fixx
This commit is contained in:
@@ -24,7 +24,7 @@ describe('Reanimated backward compatible API', () => {
|
||||
const anim = animation.node(transX, animation.config);
|
||||
anim.start();
|
||||
const during = ReanimatedModule.getNumberOfNodes();
|
||||
anim.__getValue_testOnly().__setAnimation(null, true);
|
||||
anim.__value_testOnly.__setAnimation(null, true);
|
||||
const after = ReanimatedModule.getNumberOfNodes();
|
||||
transX.__removeChild(v);
|
||||
v.__detach();
|
||||
|
||||
@@ -76,7 +76,7 @@ function backwardsCompatibleInvoke(node, AnimationClass, value, config) {
|
||||
wasStopped = true;
|
||||
evaluateOnce(set(currentState.finished, 1), currentState.finished);
|
||||
},
|
||||
__getValue_testOnly: () => value,
|
||||
__value_testOnly: value,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user