testing-library/react-testing-library
### [`v10.0.0`](https://togithub.com/testing-library/react-testing-library/releases/tag/v10.0.0)
[Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v9.5.0...v10.0.0)
##### Features
- Flush microtasks in cleanup ([#519](https://togithub.com/testing-library/react-testing-library/issues/519)) ([9fc8581](https://togithub.com/testing-library/react-testing-library/commit/9fc8581713d03972f935132b5cfab316d6b93abe))
- update `@testing-library/dom` ([435098c](https://togithub.com/testing-library/react-testing-library/commit/435098c3a05ca4e9cadc0c8f2ef50c0e1dcc2ebd))
##### 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](https://togithub.com/testing-library/dom-testing-library/releases/tag/v7.0.0) to ensure you are unaffected.
##### Drop Node 8
Node 10 or greater is required. Node 8 is [out of LTS](https://nodejs.org/en/about/releases/) ([#576](https://togithub.com/testing-library/react-testing-library/issues/576)) ([fccc2cf](https://togithub.com/testing-library/react-testing-library/commit/fccc2cf302c1af2281712baa0bdad5a2b93c3212)), closes [#575](https://togithub.com/testing-library/react-testing-library/issues/575)
##### remove deprecated `cleanup-after-each.js`
This file which did nothing but log a warning to the console ([#598](https://togithub.com/testing-library/react-testing-library/issues/598)) ([7942f68](https://togithub.com/testing-library/react-testing-library/commit/7942f684509831afcdd4d88b191e9193fab576ff))
```diff
- 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`).
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
^9.3.2
->^10.0.0
By merging this PR, the below vulnerabilities will be automatically resolved:
Release Notes
testing-library/react-testing-library
### [`v10.0.0`](https://togithub.com/testing-library/react-testing-library/releases/tag/v10.0.0) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v9.5.0...v10.0.0) ##### Features - Flush microtasks in cleanup ([#519](https://togithub.com/testing-library/react-testing-library/issues/519)) ([9fc8581](https://togithub.com/testing-library/react-testing-library/commit/9fc8581713d03972f935132b5cfab316d6b93abe)) - update `@testing-library/dom` ([435098c](https://togithub.com/testing-library/react-testing-library/commit/435098c3a05ca4e9cadc0c8f2ef50c0e1dcc2ebd)) ##### 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](https://togithub.com/testing-library/dom-testing-library/releases/tag/v7.0.0) to ensure you are unaffected. ##### Drop Node 8 Node 10 or greater is required. Node 8 is [out of LTS](https://nodejs.org/en/about/releases/) ([#576](https://togithub.com/testing-library/react-testing-library/issues/576)) ([fccc2cf](https://togithub.com/testing-library/react-testing-library/commit/fccc2cf302c1af2281712baa0bdad5a2b93c3212)), closes [#575](https://togithub.com/testing-library/react-testing-library/issues/575) ##### remove deprecated `cleanup-after-each.js` This file which did nothing but log a warning to the console ([#598](https://togithub.com/testing-library/react-testing-library/issues/598)) ([7942f68](https://togithub.com/testing-library/react-testing-library/commit/7942f684509831afcdd4d88b191e9193fab576ff)) ```diff - 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`).