@samitouri / QOS-React-2 / commits / bd150ec658
Fork 0

The library for web and native user interfaces.

Clean up unused variables for lint

Paul O’Shannessy committed Jun 28, 2013 at 16:31 UTC bd150ec658aff506b9bc4ef612a2c1b1bbf20f96
1 file changed +2 -3
src/core/__tests__/ReactDOMTextarea-test.js
+2 -3
@@ -22,7 +22,6 @@
22 describe('ReactDOMTextarea', function() {
23 var React;
24 var ReactTestUtils;
25 - var getTextContentAccessor;
25
26 beforeEach(function() {
27 React = require('React');
@@ -53,13 +52,13 @@ describe('ReactDOMTextarea', function() {
52
53 it("should throw with multiple or invalid children", function() {
54 expect(function() {
56 - var stub = ReactTestUtils.renderIntoDocument(
55 + ReactTestUtils.renderIntoDocument(
56 <textarea>{'hello'}{'there'}</textarea>
57 );
58 }).toThrow();
59
60 expect(function() {
62 - var stub = ReactTestUtils.renderIntoDocument(
61 + ReactTestUtils.renderIntoDocument(
62 <textarea><strong /></textarea>
63 );
64 }).toThrow();