Skip to content

Commit

Permalink
fix: add missing JSDom living keys (#3702)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerZade authored Jul 4, 2023
1 parent d3b06f8 commit 83a86a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/vitest/src/integrations/env/jsdom-keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ const LIVING_KEYS = [
'StorageEvent',
'ProgressEvent',
'PageTransitionEvent',
'SubmitEvent',
'UIEvent',
'FocusEvent',
'InputEvent',
Expand Down Expand Up @@ -163,6 +164,8 @@ const LIVING_KEYS = [
'AbortController',
'AbortSignal',
'ArrayBuffer',
'DOMRectReadOnly',
'DOMRect',

// not specified in docs, but is available
'Image',
Expand Down

0 comments on commit 83a86a7

Please sign in to comment.