mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Adds empty onChange handler to textarea test
This commit is contained in:
@@ -86,7 +86,7 @@ describe('ReactDOMTextarea', function() {
|
||||
});
|
||||
|
||||
it('should not render value as an attribute', function() {
|
||||
var stub = <textarea value="giraffe" />;
|
||||
var stub = <textarea value="giraffe" onChange={emptyFunction} />;
|
||||
stub = renderTextarea(stub);
|
||||
var node = stub.getDOMNode();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user