diff --git a/src/test/reactComponentExpect.js b/src/test/reactComponentExpect.js index b24494479f..e2d41e568f 100644 --- a/src/test/reactComponentExpect.js +++ b/src/test/reactComponentExpect.js @@ -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; },