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

Implement unit testing #5

Open
6 tasks
AriTheElk opened this issue Nov 11, 2016 · 0 comments
Open
6 tasks

Implement unit testing #5

AriTheElk opened this issue Nov 11, 2016 · 0 comments

Comments

@AriTheElk
Copy link
Owner

AriTheElk commented Nov 11, 2016

Unit testing needs to be implemented at some point. These tests should be fairly extensive making sure that the components and utilities function as expected.

Some tests that need to be created:

  • Make sure the Row component accepts the divisions prop
  • Make sure the Row component applies the divisions prop to child Columns and Rows.
  • Make sure the Row component only applies the divisions prop to children of type Column or Row.
  • Make sure the Column component renders at width: (100% ÷ props.divisions) * sm
    • Repeat the above test for every media size.
  • Make sure the Column component renders the margin-left in accordance with the xxShift prop.

I'm sure there will be more to list, but this is a solid start for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant