We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 570b0c3 commit d342ca9Copy full SHA for d342ca9
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "jsdom-testing-mocks",
3
- "version": "1.5.0-beta.6",
+ "version": "1.5.0-beta.7",
4
"author": "Ivan Galiatin",
5
"license": "MIT",
6
"description": "A set of tools for emulating browser behavior in jsdom environment",
src/mocks/web-animations-api/index.ts
@@ -17,7 +17,7 @@ function animate(
17
18
elementAnimations.set(this, animations);
19
20
- animation.finished.then(() => {
+ animation.addEventListener('finish', () => {
21
const animations = elementAnimations.get(this);
22
23
if (animations) {
0 commit comments