Skip to content
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

toast component jest tests #215

Merged
merged 3 commits into from
Dec 21, 2017
Merged

toast component jest tests #215

merged 3 commits into from
Dec 21, 2017

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Dec 18, 2017

No description provided.

@nreese nreese requested review from cchaos and cjcenizal December 18, 2017 16:46
Copy link
Contributor

@cjcenizal cjcenizal left a comment

Choose a reason for hiding this comment

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

Looks good! Just had one minor suggestion.

});
});

describe('color', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you import COLORS from the toast file and loop through each valid value, as in https://github.com/elastic/eui/blob/master/src/components/button/button.test.js#L59 ?

Copy link
Contributor

@cjcenizal cjcenizal left a comment

Choose a reason for hiding this comment

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

🏀 LGTM!

@snide snide added the chore label Dec 20, 2017
@cchaos
Copy link
Contributor

cchaos commented Dec 20, 2017

I just noticed you might be waiting on me. I'm not sure how to review jest tests since I'm not familiar with them. Someone can pair with me to show me or go ahead merge based on @cjcenizal's approval.

@nreese nreese merged commit bb7bddb into elastic:master Dec 21, 2017
@cjcenizal cjcenizal mentioned this pull request Dec 21, 2017
22 tasks
snide pushed a commit to snide/eui that referenced this pull request Dec 21, 2017
* toast jest tests

* using test style guide this time

* test each color value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants