mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Merge pull request #3288 from apaatsio/remove-unnecessary-variable-in-test
Remove unnecessary variable from test
This commit is contained in:
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>;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user