Merge pull request #3288 from apaatsio/remove-unnecessary-variable-in-test

Remove unnecessary variable from test
This commit is contained in:
Ben Alpert committed 2015-02-28 13:31:50 -08:00
commit 7346ce5c0b
1 file changed
-2
@@ -244,7 +244,6 @@ describe('ReactServerRendering', function() {
describe('renderToStaticMarkup', function() {
it('should not put checksum and React ID on components', function() {
var lifecycle = [];
var NestedComponent = React.createClass({
render: function() {
return <div>inner text</div>;
@@ -253,7 +252,6 @@ describe('ReactServerRendering', function() {
var TestComponent = React.createClass({
render: function() {
lifecycle.push('render');
return <span><NestedComponent /></span>;
}
});