diff --git a/test/components/connect.spec.js b/test/components/connect.spec.js index 893fec348..f8588c3f4 100644 --- a/test/components/connect.spec.js +++ b/test/components/connect.spec.js @@ -142,18 +142,16 @@ describe('React', () => { } render() { + expect(this.props.string).toBe('a') return } } - const tree = TestUtils.renderIntoDocument( + TestUtils.renderIntoDocument( ) - - const stub = TestUtils.findRenderedComponentWithType(tree, Passthrough) - expect(stub.props.string).toBe('a') }) it('should handle additional prop changes in addition to slice', () => {