mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Clean up unused variables for lint
This commit is contained in:
1 parent
ee21a604f3
commit
bd150ec658
1 file changed
+2
-3
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user