Skip to content

Commit

Permalink
Remove assert messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
srph committed Jan 15, 2016
1 parent 6ee6108 commit 6338187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/ShallowWrapper-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,10 @@ describe('shallow', () => {

const context = { x: 'yolo' };
const wrapper = shallow(<Foo x={5} />, { context });
expect(wrapper.first('div').text(), 'value of context.x should be printed').to.equal('yolo');
expect(wrapper.first('div').text()).to.equal('yolo');

wrapper.setProps({ x: 5 }); // Just force a re-render
expect(wrapper.first('div').text(), 'context should still be the same').to.equal('yolo');
expect(wrapper.first('div').text()).to.equal('yolo');
});
});

Expand Down

0 comments on commit 6338187

Please sign in to comment.