mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Adds empty onChange handler to textarea test
This commit is contained in:
1 parent
b9c132e58a
commit
e077dd40eb
1 file changed
+1
-1
@@ -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