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(deps): update dependency @testing-library/react to v12 #342

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 25, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/react 8.0.9 -> 12.1.0 age adoption passing confidence

Release Notes

testing-library/react-testing-library

v12.1.0

Compare Source

Features

v12.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES

v11.2.7

Compare Source

Bug Fixes

v11.2.6

Compare Source

Bug Fixes
  • types: exclude tsconfig from types folder in publish flow (#​893) (58150b9)

v11.2.5

Compare Source

Bug Fixes

v11.2.4

Compare Source

Bug Fixes
  • render: Default to HTMLElement in returned container (#​868) (81c2de9)

v11.2.3

Compare Source

Bug Fixes

v11.2.2

Compare Source

Bug Fixes

v11.2.1

Compare Source

Bug Fixes
  • types: Allow all HTML and SVG elements in render. (#​833) (1dc33b2)

v11.2.0

Compare Source

Features

v11.1.2

Compare Source

Bug Fixes

v11.1.1

Compare Source

Bug Fixes

v11.1.0

Compare Source

Features

v11.0.4

Compare Source

Bug Fixes
  • Trigger ongot-/onlostpointercapture when calling got-/lostpointercapture (#​786) (c546a6f)

v11.0.3

Compare Source

Bug Fixes
  • Trigger onPointerEnter/Leave when calling pointerEnter/Leave (#​784) (c7b5622)

v11.0.2

Compare Source

Bug Fixes

v11.0.1

Compare Source

Bug Fixes

v11.0.0

Compare Source

Features
  • use act to flush instead of custom implementation (#​768) (693228c)
BREAKING CHANGES
  • cleanup is now synchronous and wraps the unmounting process in act.

v10.4.9

Compare Source

Bug Fixes

v10.4.8

Compare Source

Bug Fixes
  • fireEvent: Make sure react dispatches focus/blur events (#​758) (9aac157)

v10.4.7

Compare Source

Bug Fixes
  • unmount: Flush useEffect cleanup functions syncronously (#​746) (b82773c)

v10.4.6

Compare Source

Bug Fixes
  • cleanup: remove scheduler code from flush-microtasks (#​744) (240900c)

v10.4.5

Compare Source

Bug Fixes

v10.4.4

Compare Source

Bug Fixes

v10.4.3

Compare Source

Bug Fixes
  • cleanup: Cleanup should flush microtask queue after unmount (#​632) (aac2e44)

v10.4.2

Compare Source

Bug Fixes
  • cleanup: microtask flushing now supports fake timers (#​720) (5814b29)

v10.4.1

Compare Source

Bug Fixes

v10.4.0

Compare Source

Features

Latest DOM Testing Library release page: https://github.com/testing-library/dom-testing-library/releases/tag/v7.17.0

The big feature is fake timers working with async utils out of the box

v10.3.0

Compare Source

Features

v10.2.1

Compare Source

Bug Fixes

v10.2.0

Compare Source

Features
  • run cleanup() when test runner supports teardown() (#​676) (c91e9a9)

v10.1.0

Compare Source

Features

v10.0.6

Compare Source

Bug Fixes

v10.0.5

Compare Source

Bug Fixes
  • fireEvent: automatically configure fireEvent to be wrapped in act (#​685) (6147830)

v10.0.4

Compare Source

Bug Fixes

v10.0.3

Compare Source

Bug Fixes

v10.0.2

Compare Source

Bug Fixes

v10.0.1

Compare Source

Bug Fixes

v10.0.0

Compare Source

Features
BREAKING CHANGES
Update DOM Testing Library

The latest version of DOM Testing Library has several breaking changes you will want to review the changelog of DOM Testing Library v7.0.0 to ensure you are unaffected.

Drop Node 8

Node 10 or greater is required. Node 8 is out of LTS (#​576) (fccc2cf), closes #​575

remove deprecated cleanup-after-each.js

This file which did nothing but log a warning to the console (#​598) (7942f68)

- import '@​testing-library/react/cleanup-after-each'
+ // nothing! Just remove it

As a general reminder, you should NOT need to use cleanup at all as this is done automatically for you (unless you're using @testing-library/react/pure in which case you know what you're doing... keep using cleanup).

v9.5.0

Compare Source

Features

v9.4.1

Compare Source

Bug Fixes

v9.4.0

Compare Source

Features
  • screen: add screen export (e35c213)

v9.3.3

Compare Source

Bug Fixes

v9.3.2

Compare Source

Bug Fixes

v9.3.1

Compare Source

Bug Fixes

v9.3.0

Compare Source

Features

v9.2.0

Compare Source

Features

v9.1.4

Compare Source

Bug Fixes
  • console.error doesn't have to be a string in act.compat.js (#​476) (139df62)

v9.1.3

Compare Source

Bug Fixes

v9.1.2

Compare Source

Bug Fixes

v9.1.1

Compare Source

Bug Fixes

v9.1.0

Compare Source

Features

v9.0.2

Compare Source

Bug Fixes
  • restore cleanup-after-each and include a deprecation warning (8277b06), closes #​433

v9.0.1

Compare Source

Bug Fixes
  • cleanup-after-each: remove cleanup-after-each file. (#​433) (0b83ca5)

v9.0.0

Compare Source

Features
BREAKING CHANGES
  • deps: If you were using debugDOM before, use prettyDOM instead. Note that debugDOM is different from debug which you get back from render. That is unchanged.
  • cleanup: If your tests were not isolated before (and you referenced the same component between tests) then this change will break your tests. You should keep your tests isolated, but if you're unable/unwilling to do that right away, then you can either run your tests with the environment variable RTL_SKIP_AUTO_CLEANUP set to true or import @testing-library/react/pure instead of @testing-library/react.
  • cleanup-after-each: If any of your code has import '@​testing-library/react/cleanup-after-each' then you need to remove that. It's happening automatically now.

Configuration

📅 Schedule: "every weekend" in timezone Asia/Tokyo.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot assigned nju33 Jun 25, 2021
@renovate renovate bot force-pushed the renovate/testing-library-react-12.x branch from 6419567 to 9ba1c9e Compare September 11, 2021 11:32
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