react/packages/jest-react
Simen Bekkhus cf0081263c Upgrade to jest 25 (#17896)
The changes to the test code relate to changes in JSDOM that come with Jest 25:

* Several JSDOM workarounds are no longer needed.
* Several tests made assertions to match incorrect JSDOM behavior (e.g. setAttribute calls) that JSDOM has now patched to match browsers.
  * https://codesandbox.io/s/resets-value-of-datetime-input-to-fix-bugs-in-ios-safari-1ppwh
* JSDOM no longer triggers default actions when dispatching click events.
  * https://codesandbox.io/s/beautiful-cdn-ugn8f
* JSDOM fixed (jsdom/jsdom#2700) a bug so that calling focus() on an already focused element does not dispatch a FocusEvent.
* JSDOM now supports passive events.
* JSDOM has improved support for custom CSS properties.
  * But requires jsdom/cssstyle#112 to land to support webkit prefixed properties.
2020-01-25 08:43:02 -08:00
..
npm Jest + test renderer helpers for concurrent mode (#13751) 2018-10-03 18:37:41 -06:00
src Swap expect(ReactNoop) for expect(Scheduler) (#14971) 2019-02-28 12:54:47 -08:00
README.md Jest + test renderer helpers for concurrent mode (#13751) 2018-10-03 18:37:41 -06:00
index.js Jest + test renderer helpers for concurrent mode (#13751) 2018-10-03 18:37:41 -06:00
package.json Upgrade to jest 25 (#17896) 2020-01-25 08:43:02 -08:00

README.md

jest-react

Jest matchers and utilities for testing React Test Renderer.