(animation: Animation)
| 900 | |
| 901 | const [shortAnimation, longAnimation] = getAnimations(); |
| 902 | const dispatchAnimationEnd = (animation: Animation) => { |
| 903 | const event = new AnimationEvent('animationend', {animationName: 'duplicate-name'}); |
| 904 | Object.defineProperty(event, 'animation', {value: animation}); |
| 905 | paragraph.nativeElement.dispatchEvent(event); |
| 906 | }; |
| 907 | |
| 908 | dispatchAnimationEnd(shortAnimation); |
| 909 | await timeout(); |
no test coverage detected