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: [jest-environment] Allow custom export conditions #1555

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aearly
Copy link

@aearly aearly commented Sep 26, 2024

When switching to use happy-dom from jsdom in my project's Jest setup, I noticed that the export conditions stopped working. It looks like the jest-environment needs to replicate this logic from the abstract environment to respect any customExportConditions settings.

  • Also fixed some warnings in the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant