Skip to content

Commit 59fc4de

Browse files
committed
refactor: Improve test descriptions.
1 parent d379786 commit 59fc4de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

__tests__/tests/components/CommentInput.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('<CommentInput />', () => {
1414
onSubmit: () => {},
1515
};
1616

17-
it('should render TextInput and TouchableOpacity if user can post', () => {
17+
it('should render TextInput and TouchableOpacity if I can post', () => {
1818

1919
const wrapper = shallow(
2020
<CommentInput {...defaultProps}/>
@@ -25,7 +25,7 @@ describe('<CommentInput />', () => {
2525
expect(wrapper.find('Text').length).toEqual(0);
2626
});
2727

28-
it("should not render TextInput and TouchableOpacity if user can't post", () => {
28+
it("should not render TextInput and TouchableOpacity if I can't post", () => {
2929

3030
const wrapper = shallow(
3131
<CommentInput
@@ -39,7 +39,7 @@ describe('<CommentInput />', () => {
3939
expect(wrapper.find('Text').length).toEqual(1);
4040
});
4141

42-
it('should update the state text if value change', () => {
42+
it('should update the state text if value changed', () => {
4343
const wrapper = shallow(
4444
<CommentInput {...defaultProps}/>
4545
);

0 commit comments

Comments
 (0)