Skip to content

Commit 83a86a7

Browse files
authoredJul 4, 2023
fix: add missing JSDom living keys (#3702)
1 parent d3b06f8 commit 83a86a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎packages/vitest/src/integrations/env/jsdom-keys.ts

+3
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ const LIVING_KEYS = [
115115
'StorageEvent',
116116
'ProgressEvent',
117117
'PageTransitionEvent',
118+
'SubmitEvent',
118119
'UIEvent',
119120
'FocusEvent',
120121
'InputEvent',
@@ -163,6 +164,8 @@ const LIVING_KEYS = [
163164
'AbortController',
164165
'AbortSignal',
165166
'ArrayBuffer',
167+
'DOMRectReadOnly',
168+
'DOMRect',
166169

167170
// not specified in docs, but is available
168171
'Image',

0 commit comments

Comments
 (0)
Please sign in to comment.