mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
fc7835c657
This reverts commit cf0081263c.
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.
37 lines
757 B
JSON
37 lines
757 B
JSON
{
|
|
"name": "jest-react",
|
|
"version": "0.11.1",
|
|
"description": "Jest matchers and utilities for testing React components.",
|
|
"main": "index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/react.git",
|
|
"directory": "packages/jest-react"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"jest",
|
|
"react-testing"
|
|
],
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/facebook/react/issues"
|
|
},
|
|
"homepage": "https://reactjs.org/",
|
|
"peerDependencies": {
|
|
"jest": "^23.0.1 || ^24.0.0",
|
|
"react": "^16.0.0",
|
|
"react-test-renderer": "^16.0.0"
|
|
},
|
|
"dependencies": {
|
|
"object-assign": "^4.1.1"
|
|
},
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"build-info.json",
|
|
"index.js",
|
|
"cjs/"
|
|
]
|
|
}
|