Skip to content

test: Add test for Color Helpers (#518) #565

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 1 commit into from
Oct 25, 2017
Merged

test: Add test for Color Helpers (#518) #565

merged 1 commit into from
Oct 25, 2017

Conversation

serhii-baraniuk
Copy link
Contributor

Hello,
I've added tests for the color helper :)

@tautf tautf changed the title feat(test): Add test fot Color Helpers (#518) test: Add test for Color Helpers (#518) Oct 23, 2017
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.

Awesome!! Just a tiny little phrasing change, then looks goods.

import { getFontColorByBackground } from 'utils';

describe('Color Helpers', () => {
it('should return a black font color for the light background #1', () => {
Copy link
Member

Choose a reason for hiding this comment

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

Could you say something like 'should return a black font color for the light yellow background' and apply that format to the rest of these tests?

@serhii-baraniuk
Copy link
Contributor Author

@andrewda done :)

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 29.57% when pulling 27a7eaa on kenitive:master into aa22d8a on gitpoint:master.

@alejandronanez alejandronanez merged commit 4fece57 into gitpoint:master Oct 25, 2017
@andrewda andrewda mentioned this pull request Oct 25, 2017
63 tasks
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.

6 participants