Commit Graph

4 Commits

Author SHA1 Message Date
Oleg Vaskevich
a7c466fd5b Add missing ReactDOM Simulate event methods (#19980)
* Add missing ReactDOM Simulate event methods

Simulate has a method for every event that React understands.

Source: https://facebook.github.io/react/docs/test-utils.html#simulate

* Fix ordering
2017-09-26 15:50:24 -07:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Tanguy Krotoff
ea9de8a518 Replace React.Component<(.*), (any|void|\{\}|null)> by React.Component<$1>
+ many manual adjustments
2017-06-19 13:35:50 +02:00
Martynas Žilinskas
9df4e89676 react-dom package update with test-utils (#15868)
* Create index.d.ts

`react-addons-test-utils` package moved to `react-dom/test-utils. [Reference](https://facebook.github.io/react/docs/test-utils.html)
Added missing function `isElement()`. 
Added jsdocs comments from react documentation.

* Update index.d.ts

* Added react-dom tests.

* Fixed one function return. Added test-utils tests.

* Remade structure.

* Fixed header.

* Remade from tsx -> ts.

* Remade folder structure.

* Moved to a single test file.

* Updated header.

* Added tslint.json.

* Fixed index.d.ts

* Removed trailing spaces.

* no-redundant-modifiers index.d.ts fix.

* Fixed tslint errors.

* tslint extends dtslint/dt.json and fixed ReactTestUtils.

* Fixed header version.

* Removed consecutive blank line.

* Removed JSDocs tags without description.

* Fixed ReactDOM export as global.
2017-04-18 11:18:04 -07:00