Skip to content

chore: upgrade jsdom#17012

Closed
SimenB wants to merge 1 commit into
react:masterfrom
SimenB:jsdom-update
Closed

chore: upgrade jsdom#17012
SimenB wants to merge 1 commit into
react:masterfrom
SimenB:jsdom-update

Conversation

@SimenB

@SimenB SimenB commented Oct 4, 2019

Copy link
Copy Markdown
Contributor

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

sizebot commented Oct 4, 2019

Copy link
Copy Markdown

No significant bundle size changes to report.

Generated by 🚫 dangerJS against 94988ad

@stale

stale Bot commented Jan 9, 2020

Copy link
Copy Markdown

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
Copy Markdown
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

SimenB commented Jan 23, 2020

Copy link
Copy Markdown
Contributor Author

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

@eps1lon

eps1lon commented Jan 23, 2020

Copy link
Copy Markdown
Collaborator

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

SimenB commented Jan 23, 2020

Copy link
Copy Markdown
Contributor Author

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

@SimenB

SimenB commented Jan 23, 2020

Copy link
Copy Markdown
Contributor Author

#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