diff --git a/packages/vitest/src/integrations/env/jsdom-keys.ts b/packages/vitest/src/integrations/env/jsdom-keys.ts index 8d7b93bc1f21..ea77801552d8 100644 --- a/packages/vitest/src/integrations/env/jsdom-keys.ts +++ b/packages/vitest/src/integrations/env/jsdom-keys.ts @@ -170,6 +170,7 @@ const OTHER_KEYS = [ 'atob', 'blur', 'btoa', + 'cancelAnimationFrame', /* 'clearInterval', */ /* 'clearTimeout', */ 'close', @@ -201,6 +202,7 @@ const OTHER_KEYS = [ 'print', 'prompt', 'removeEventListener', + 'requestAnimationFrame', 'resizeBy', 'resizeTo', 'screen',