Update reactComponentExpect.js

This commit is contained in:
Christoph Pojer
2015-03-06 02:46:33 -08:00
parent c7c2e05c33
commit 8ce9e2b194
+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;
},