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

Component guideline test #33

Closed
4 tasks done
levithomason opened this issue Oct 7, 2015 · 1 comment
Closed
4 tasks done

Component guideline test #33

levithomason opened this issue Oct 7, 2015 · 1 comment

Comments

@levithomason
Copy link
Member

There should be a test that ensures a component adheres to the guidelines. We should then loop through all the components on stardust and run the test against them.


Tests

  • className is inherited.
  • If the underlying class name follows ui <component> format, className is inherited between ui and <component.
  • If the underlying class name does not include ui, className is inherited before the component class. Example, fields only have a field class, inheritance is <className> field.
  • props are spread on the underlying element.
This was referenced Oct 8, 2015
@levithomason
Copy link
Member Author

Implemented in #53 Conformance Tests.

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

No branches or pull requests

1 participant