Skip to content

Commit 57a5dc5

Browse files
committed
Use a consistent form for the messages in the example tests
1 parent 7436279 commit 57a5dc5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ import { shallow } from 'enzyme';
4848

4949
describe('<MyComponent />', () => {
5050

51-
it('should render three <Foo /> components', () => {
51+
it('renders three <Foo /> components', () => {
5252
const wrapper = shallow(<MyComponent />);
5353
expect(wrapper.find(Foo)).to.have.length(3);
5454
});
5555

56-
it('should render an `.icon-star`', () => {
56+
it('renders an `.icon-star`', () => {
5757
const wrapper = shallow(<MyComponent />);
5858
expect(wrapper.find('.icon-star')).to.have.length(1);
5959
});
6060

61-
it('should render children when passed in', () => {
61+
it('renders children when passed in', () => {
6262
const wrapper = shallow(
6363
<MyComponent>
6464
<div className="unique" />
@@ -134,7 +134,7 @@ describe('<Foo />', () => {
134134
expect(wrapper.find('.foo-bar').length).to.equal(3);
135135
});
136136

137-
it('rendered the title', () => {
137+
it('renders the title', () => {
138138
const wrapper = render(<Foo title="unique" />);
139139
expect(wrapper.text()).to.contain("unique");
140140
});

0 commit comments

Comments
 (0)