Clean up unused variables for lint

This commit is contained in:
Paul O’Shannessy
2013-06-28 16:34:19 -07:00
parent ee21a604f3
commit bd150ec658
+2 -3
View File
@@ -22,7 +22,6 @@
describe('ReactDOMTextarea', function() {
var React;
var ReactTestUtils;
var getTextContentAccessor;
beforeEach(function() {
React = require('React');
@@ -53,13 +52,13 @@ describe('ReactDOMTextarea', function() {
it("should throw with multiple or invalid children", function() {
expect(function() {
var stub = ReactTestUtils.renderIntoDocument(
ReactTestUtils.renderIntoDocument(
<textarea>{'hello'}{'there'}</textarea>
);
}).toThrow();
expect(function() {
var stub = ReactTestUtils.renderIntoDocument(
ReactTestUtils.renderIntoDocument(
<textarea><strong /></textarea>
);
}).toThrow();