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

[test] Fix JSDOM detection in tests #765

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

michaldudak
Copy link
Member

The code that sets up polyfills for JSDOM did not correctly detect when JSDOM is enabled. This PR fixes this issue.

Appeared in #764 (comment)

@michaldudak michaldudak added bug 🐛 Something doesn't work test labels Oct 29, 2024
@michaldudak michaldudak requested a review from vladmoroz October 29, 2024 21:06
@michaldudak michaldudak requested a review from atomiks as a code owner October 29, 2024 21:06
@mui-bot
Copy link

mui-bot commented Oct 29, 2024

Netlify deploy preview

https://deploy-preview-765--base-ui.netlify.app/

Generated by 🚫 dangerJS against 3da234a

@atomiks atomiks merged commit a297f69 into mui:master Oct 30, 2024
20 checks passed
atomiks pushed a commit to atomiks/base-ui that referenced this pull request Oct 30, 2024
atomiks added a commit to atomiks/base-ui that referenced this pull request Oct 30, 2024
[test] Fix JSDOM detection in tests (mui#765)
atomiks added a commit to atomiks/base-ui that referenced this pull request Oct 30, 2024
[test] Fix JSDOM detection in tests (mui#765)
@michaldudak michaldudak deleted the vitest-fix branch October 30, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants