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

Upgrade jsdom to version 20. #65

Merged
merged 3 commits into from
Jan 19, 2023
Merged

Upgrade jsdom to version 20. #65

merged 3 commits into from
Jan 19, 2023

Conversation

ray-lee
Copy link
Contributor

@ray-lee ray-lee commented Jan 19, 2023

Description

This upgrades JSDOM to version 20, and makes the necessary changes to successfully compile and run (almost all of the) tests.

There is one test failure that remains, due to the DOM not allowing a file input value to be changed programatically. This test is currently being skipped, but it should be fixed in the future.

Motivation and Context

This was needed to add jest and react testing library to the project. It also gets us to a modern version of JSDOM that matches the one used in other JS projects.

How Has This Been Tested?

All unit tests (except the one, which is currently being skipped) have been updated, and pass.

Checklist:

  • N/A I have updated the documentation accordingly.
  • All new and existing tests passed. (except one)

@ray-lee ray-lee marked this pull request as ready for review January 19, 2023 17:29
Copy link
Contributor

@tdilauro tdilauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@tdilauro tdilauro merged commit 2258d66 into main Jan 19, 2023
@tdilauro tdilauro deleted the upgrade-jsdom branch January 19, 2023 17:35
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.

2 participants