Skip to content

Commit e879753

Browse files
authored
fix: Update HappyDOMOptions to be compatible with v12 (#4135)
1 parent 21ba493 commit e879753

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/vitest/src/types/happy-dom-options.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ export interface HappyDOMOptions {
1212
disableIframePageLoading?: boolean
1313
disableComputedStyleRendering?: boolean
1414
enableFileSystemHttpRequests?: boolean
15+
navigator?: {
16+
userAgent?: string
17+
}
1518
device?: {
1619
prefersColorScheme?: string
1720
mediaType?: string

0 commit comments

Comments
 (0)