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

chore: upgrade jsdom #17012

Closed
wants to merge 1 commit into from
Closed

chore: upgrade jsdom #17012

wants to merge 1 commit into from

Conversation

SimenB
Copy link
Contributor

@SimenB SimenB commented Oct 4, 2019

Following up on #15778, this is needed before being able to upgrade to Jest 25, which will have some significant performance improvements. Some tests for style properties are failing though, and I have no idea if it's due to jsdom or the tests themselves. I have some hope you'll know what's up yourselves 🤞

I tried upgrading to the Jest 25 alpha btw, and it fails in the same way, so if it's an issue with jsdom itself, it has not been fixed for jsdom@15 and it'd be great to report it to them.

/cc @threepointone

@sizebot
Copy link

sizebot commented Oct 4, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS against 94988ad

@stale
Copy link

stale bot commented Jan 9, 2020

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution.

@stale stale bot added the Resolution: Stale Automatically closed due to inactivity label Jan 9, 2020
@threepointone
Copy link
Contributor

Bumping to extend life, this seems like one we’ll need

@stale stale bot removed the Resolution: Stale Automatically closed due to inactivity label Jan 9, 2020
@SimenB
Copy link
Contributor Author

SimenB commented Jan 23, 2020

Jest 25 is released, but you cannot upgrade due to this error

@eps1lon
Copy link
Collaborator

eps1lon commented Jan 23, 2020

Jest 25 is released, but you cannot upgrade due to this error

- element.style.foo
+ element.style.getPropertyValue('--foo')

which works in a browser. The previous test wouldn't even pass in a browser (or at least not in chrome 79).

I quickly tried it on this branch but had no success. Do you have a branch with jest 25 (and jsdom 15) that I can check-out?

@SimenB
Copy link
Contributor Author

SimenB commented Jan 23, 2020

I don't, but I can open up a separate PR for it, 2 sec

@SimenB
Copy link
Contributor Author

SimenB commented Jan 23, 2020

#17896

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

Successfully merging this pull request may close these issues.

5 participants