fixes tests

This commit is contained in:
Andrey Shovkoplyas 2017-09-27 17:20:37 +03:00 committed by Roman Volosovskyi
parent 9246d7df21
commit 499cd393ad
3 changed files with 3 additions and 6 deletions

View File

@ -53,7 +53,4 @@
(defn get-layout [value-xy]
(js->clj (.getLayout value-xy)))
(defn create-value-xy [x y]
(js/ReactNative.Animated.ValueXY. (clj->js {:x x, :y y})))
(def easing js/ReactNative.Easing)
(defn easing [] js/ReactNative.Easing)

View File

@ -8,5 +8,5 @@
[(animation/timing opacity-value {:toValue 1
:duration 500})
(animation/timing bottom-value {:toValue 8.5
:easing (.bezier animation/easing 0.685, 0.000, 0.025, 1.185)
:easing (.bezier (animation/easing) 0.685, 0.000, 0.025, 1.185)
:duration 500})]))))

View File

@ -7,5 +7,5 @@
[(animation/timing opacity-value {:toValue 1
:duration 500})
(animation/timing bottom-value {:toValue 53
:easing (.bezier animation/easing 0.685, 0.000, 0.025, 1.185)
:easing (.bezier (animation/easing) 0.685, 0.000, 0.025, 1.185)
:duration 500})])))