()
| 340 | }; |
| 341 | |
| 342 | const getDuration = () => { |
| 343 | if (shouldForceSyncPlayback) { |
| 344 | return 0; |
| 345 | } |
| 346 | if (forceDurationValue !== undefined) { |
| 347 | return forceDurationValue; |
| 348 | } |
| 349 | if (_duration !== undefined) { |
| 350 | return _duration; |
| 351 | } |
| 352 | if (parentAnimation) { |
| 353 | return parentAnimation.getDuration(); |
| 354 | } |
| 355 | |
| 356 | return 0; |
| 357 | }; |
| 358 | |
| 359 | const getIterations = () => { |
| 360 | if (_iterations !== undefined) { |
no test coverage detected