Skip to content

Commit

Permalink
strange react 16 error boundary issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lelandrichardson committed Aug 15, 2017
1 parent 95950fa commit e1d4551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ReactWrapper-spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ describeWithDOM('mount', () => {
expect(wrapper.props().d).to.equal('e');
});

it('should throw if an exception occurs during render', () => {
itIf(!REACT16, 'should throw if an exception occurs during render', () => {
class Trainwreck extends React.Component {
render() {
const { user } = this.props;
Expand Down Expand Up @@ -1090,7 +1090,7 @@ describeWithDOM('mount', () => {
expect(wrapper.props().d).to.equal('e');
});

it('should throw if an exception occurs during render', () => {
itIf(!REACT16, 'should throw if an exception occurs during render', () => {
const Trainwreck = ({ user }) => (
<div>
{user.name.givenName}
Expand Down

0 comments on commit e1d4551

Please sign in to comment.