@@ -86,7 +86,7 @@ const animationDelayTests = (container, circleClass, prefix = "circle | ") => {
86
86
87
87
it ( `${ prefix } don not applies progress before delay` , ( ) => {
88
88
const wrapper = localFactory (
89
- { progress, size, thickness, emptyThickness : thickness , animation : animationParser ( "rs 500 100" ) } ,
89
+ parseRawOptions ( { progress, size, thickness, emptyThickness : thickness , animation : "rs 500 100" } ) ,
90
90
container
91
91
) ;
92
92
const circleProgressWrapper = wrapper . find ( circleClass ) ;
@@ -109,7 +109,7 @@ const animationDelayTests = (container, circleClass, prefix = "circle | ") => {
109
109
110
110
describe ( "#animation" , ( ) => {
111
111
const circleContainerWrapper = localFactory (
112
- { progress : 50 , dot : 5 , animation : animationParser ( "rs 500 5" ) } ,
112
+ parseRawOptions ( { progress : 50 , dot : 5 , animation : "rs 500 5" } ) ,
113
113
CircleContainer
114
114
) ;
115
115
const circleDotWrapper = circleContainerWrapper . findComponent ( CircleDot ) ;
@@ -149,7 +149,7 @@ describe("#animation", () => {
149
149
animationDelayTests ( HalfCircle , "path.ep-half-circle--progress" , "half circle |" ) ;
150
150
151
151
const progress = 50 ;
152
- const wrapper = localFactory ( { dot : 5 , animation : animationParser ( "rs 500 50" ) } , CircleContainer ) ;
152
+ const wrapper = localFactory ( parseRawOptions ( { dot : 5 , animation : "rs 500 50" } ) , CircleContainer ) ;
153
153
const cdWrapper = wrapper . findComponent ( CircleDot ) ;
154
154
const startRotation = wrapper . props ( "options" ) . angle + 90 ;
155
155
@@ -166,7 +166,7 @@ describe("#animation", () => {
166
166
} ) ;
167
167
it ( `circle dot | do not applies rotation before delay` , ( ) => {
168
168
expect (
169
- localFactory ( { dot : 5 , animation : animationParser ( "rs 500 200" ) } , CircleContainer ) . findComponent ( CircleDot )
169
+ localFactory ( parseRawOptions ( { dot : 5 , animation : "rs 500 200" } ) , CircleContainer ) . findComponent ( CircleDot )
170
170
. element . style . transform
171
171
) . to . equal ( `rotate(${ startRotation } deg)` ) ;
172
172
} ) ;
0 commit comments