This commit is contained in:
osdnk
2018-06-29 12:15:28 +02:00
parent f4d799b3bd
commit 4fca80b747
2 changed files with 2 additions and 2 deletions

View File

@@ -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();

View File

@@ -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,
};
}