From 8ce9e2b19493ce464763de80cfb3470018eb394e Mon Sep 17 00:00:00 2001 From: Christoph Pojer Date: Fri, 6 Mar 2015 02:46:33 -0800 Subject: [PATCH] Update reactComponentExpect.js --- src/test/reactComponentExpect.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; },