Skip to content

test: add NotificationListItem component tests #589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 28, 2017

Conversation

alejandronanez
Copy link
Member

@alejandronanez alejandronanez commented Oct 27, 2017

100% coverage for NotificationListItem component
screen shot 2017-10-28 at 11 29 20 am

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 34.274% when pulling 0622c04 on notification-list-item-tests into a9ae840 on master.

@andrewda andrewda changed the title feat(test): add NotificationListItem component tests test: add NotificationListItem component tests Oct 27, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.7%) to 36.589% when pulling 6beabd0 on notification-list-item-tests into 5836450 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.06%) to 36.948% when pulling cf5e006 on notification-list-item-tests into 5836450 on master.

Copy link
Member

@andrewda andrewda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tiny change, then LGTM 👍 🎉

expect(result).toBe(TouchableOpacity);
});

it('should call navigation when user press TitleComponent', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say 'should call navigation when TitleComponent is pressed'. Talking about the user is more appropriate in an E2E test.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I take that back. Talking about the user is fine. If you want to do it that way, just switch "press" to "presses".

@alejandronanez
Copy link
Member Author

alejandronanez commented Oct 28, 2017 via email

@alejandronanez alejandronanez dismissed andrewda’s stale review October 28, 2017 17:05

Already addressed the typo. Waiting for green build to merge.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.06%) to 36.948% when pulling 70a86f7 on notification-list-item-tests into 5836450 on master.

@alejandronanez alejandronanez merged commit 441e61d into master Oct 28, 2017
@alejandronanez alejandronanez deleted the notification-list-item-tests branch October 28, 2017 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants