@samitouri / QOS-React-2 / commits / e077dd40eb

Adds empty onChange handler to textarea test

Jon Beebe committed Jun 24, 2014 at 07:26 UTC e077dd40ebdb1907f0cff2d98d32c749d6d0ed68
1 file changed +1 -1
src/browser/ui/dom/components/__tests__/ReactDOMTextarea-test.js
+1 -1
@@ -86,7 +86,7 @@ describe('ReactDOMTextarea', function() {
86 });
87
88 it('should not render value as an attribute', function() {
89 - var stub = <textarea value="giraffe" />;
89 + var stub = <textarea value="giraffe" onChange={emptyFunction} />;
90 stub = renderTextarea(stub);
91 var node = stub.getDOMNode();
92