Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: Upgradejsdom to v21 which still supports Node 14#584

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Fullchee wants to merge4 commits intotesting-library:main
base:main
Choose a base branch
Loading
fromFullchee:pr/upgrade-to-jsdom-21

Conversation

@Fullchee
Copy link

What:

  • Upgradejsdom to v21 which still supports Node 14

Why:

How:

Checklist:

  • [ ] Documentation
  • [ ] Tests
  • [ ] Updated Type Definitions
  • Ready to be merged

@FullcheeFullchee marked this pull request as ready for reviewFebruary 18, 2024 20:29
@Fullchee
Copy link
Author

@fpapado@gnapse

Do we want to release a new major release ofjest-dom@7which still supports Node 14?

We're upgradingjsdom@16 tojsdom@21

  • => 5 breaking changes which might unwittingly break things in this library too

Comment on lines +1 to +3
/**
*@jest-environment node
*/
Copy link
Author

Choose a reason for hiding this comment

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

Resolves this issue

I copy pasted from this PR

https://github.com/testing-library/jest-dom/pull/568/files?w=1#diff-aac3f7b77b88910a3cab3e23a102333b446c87359e633f41c0441c7738791d5b

  ● Test suite failed to run    ReferenceError: TextEncoder is not defined      1 |      2 |    > 3 | import {JSDOM} from 'jsdom'        | ^      4 | import {render} from './helpers/test-utils'      5 |      6 | /*

Ovicakov reacted with thumbs up emoji
@FullcheeFullchee marked this pull request as draftFebruary 18, 2024 20:53
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

.toHaveStyle() doesn't know about aspect-ratio

1 participant

@Fullchee

[8]ページ先頭

©2009-2025 Movatter.jp