Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update HappyDOMOptions to be compatible with v12 #4135

Merged
merged 2 commits into from Sep 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/vitest/src/types/happy-dom-options.ts
Expand Up @@ -12,6 +12,9 @@
disableIframePageLoading?: boolean
disableComputedStyleRendering?: boolean
enableFileSystemHttpRequests?: boolean
navigator?: {

Check failure on line 15 in packages/vitest/src/types/happy-dom-options.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected tab character

Check failure on line 15 in packages/vitest/src/types/happy-dom-options.ts

View workflow job for this annotation

GitHub Actions / lint

Expected indentation of 4 spaces but found 2 tabs
sheremet-va marked this conversation as resolved.
Show resolved Hide resolved
userAgent?: string

Check failure on line 16 in packages/vitest/src/types/happy-dom-options.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected tab character

Check failure on line 16 in packages/vitest/src/types/happy-dom-options.ts

View workflow job for this annotation

GitHub Actions / lint

Expected indentation of 6 spaces but found 3 tabs
}

Check failure on line 17 in packages/vitest/src/types/happy-dom-options.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected tab character

Check failure on line 17 in packages/vitest/src/types/happy-dom-options.ts

View workflow job for this annotation

GitHub Actions / lint

Expected indentation of 4 spaces but found 2 tabs
device?: {
prefersColorScheme?: string
mediaType?: string
Expand Down