Skip to content

Commit

Permalink
fix: add animation frame methods to global (#1258)
Browse files Browse the repository at this point in the history
Fixes #1243
  • Loading branch information
mikestopcontinues committed May 7, 2022
1 parent 98e57e2 commit 34e177f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vitest/src/integrations/env/jsdom-keys.ts
Expand Up @@ -170,6 +170,7 @@ const OTHER_KEYS = [
'atob',
'blur',
'btoa',
'cancelAnimationFrame',
/* 'clearInterval', */
/* 'clearTimeout', */
'close',
Expand Down Expand Up @@ -201,6 +202,7 @@ const OTHER_KEYS = [
'print',
'prompt',
'removeEventListener',
'requestAnimationFrame',
'resizeBy',
'resizeTo',
'screen',
Expand Down

0 comments on commit 34e177f

Please sign in to comment.