dillon1000/react

Commit

Remove tests in ReactDOMComponent-test depending on internal API (#11337)

* Remove inputValueTracking from ReactDOMComponent-test dependency

* prettier

* use node._valueTracker and add some test cases to make sure that value being tracked

* using Object.getOwnPropertyDescriptor to get the tracked value

* move getValueTracker to each test case and use its corresponding prototype

* remove tests and move the value tracker definition before React is imported

* Delete these tests completely
Browse files
Changed paths1 file
First-parent comparison
M packages/react-dom/src/__tests__/ReactDOMComponent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…