Update reactComponentExpect.js

This commit is contained in:
Christoph Pojer
2015-03-06 02:46:33 -08:00
parent 6ec81e81f6
commit 39d8488c40
+1 -2
View File
@@ -125,8 +125,7 @@ assign(reactComponentExpectInternal.prototype, {
toBeCompositeComponent: function() {
expect(
typeof this.instance() === 'object' &&
typeof this.instance().render === 'function' &&
typeof this.instance().setState === 'function'
typeof this.instance().render === 'function'
).toBe(true);
return this;
},