Skip to content

Commit 48e8118

Browse files
author
Erik Brännström
committed
Fixed incorrect test.
1 parent 43dc6da commit 48e8118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/__tests__/ReactCompositeComponent-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ describe('ReactCompositeComponent', function() {
555555

556556
it('should warn about unexpected props', function() {
557557
var Component = React.createClass({
558-
558+
propTypes: {},
559559
render: function() {
560560
return <span>{this.props.prop}</span>;
561561
}

0 commit comments

Comments
 (0)