@samitouri / QOS-React-2 / commits / 8ce9e2b194

Update reactComponentExpect.js

Christoph Pojer committed Mar 6, 2015 at 02:46 UTC 8ce9e2b19493ce464763de80cfb3470018eb394e
1 file changed +1 -2
src/test/reactComponentExpect.js
+1 -2
@@ -125,8 +125,7 @@ assign(reactComponentExpectInternal.prototype, {
125 toBeCompositeComponent: function() {
126 expect(
127 typeof this.instance() === 'object' &&
128 - typeof this.instance().render === 'function' &&
129 - typeof this.instance().setState === 'function'
128 + typeof this.instance().render === 'function'
129 ).toBe(true);
130 return this;
131 },