react/packages/jest-react
Sebastian Markbåge 1ad8d81292
Remove object-assign polyfill (#23351)
* Remove object-assign polyfill

We really rely on a more modern environment where this is typically
polyfilled anyway and we don't officially support IE with more extensive
polyfilling anyway. So all environments should have the native version
by now.

* Use shared/assign instead of Object.assign in code

This is so that we have one cached local instance in the bundle.

Ideally we should have a compile do this for us but we already follow
this pattern with hasOwnProperty, isArray, Object.is etc.

* Transform Object.assign to now use shared/assign

We need this to use the shared instance when Object.spread is used.
2022-02-23 19:34:24 -05:00
..
npm Jest + test renderer helpers for concurrent mode (#13751) 2018-10-03 18:37:41 -06:00
src Switch to client rendering if root receives update (#23309) 2022-02-16 13:15:25 -05: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 Remove object-assign polyfill (#23351) 2022-02-23 19:34:24 -05:00

README.md

jest-react

Jest matchers and utilities for testing React Test Renderer.