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

Create common tests #217

Merged
merged 28 commits into from
Apr 2, 2016
Merged

Create common tests #217

merged 28 commits into from
Apr 2, 2016

Conversation

levithomason
Copy link
Member

This PR removes the conformance test and index.js test. These tests previously looped over the Stardust keys and did magic tests.

They have replaced and extended with a commonTests module that includes:

  • isConformant
  • hasUIClassName
  • hasSubComponents
  • rendersChildren
  • propNameOnlyToClassName
  • propValueOnlyToClassName
  • propNameAndValueToClassName
  • propNameOrValueToClassName

@levithomason levithomason force-pushed the feature/common-tests branch 2 times, most recently from 96f6ead to cac48a2 Compare April 1, 2016 20:28
@@ -1,93 +0,0 @@
import _ from 'lodash'
Copy link
Member Author

Choose a reason for hiding this comment

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

Conformance test is now an export of commonTests.

@levithomason levithomason force-pushed the feature/common-tests branch from cac48a2 to 0ddc198 Compare April 1, 2016 22:03
@levithomason levithomason force-pushed the feature/common-tests branch from 0ddc198 to 09e9e73 Compare April 2, 2016 04:25
@levithomason levithomason merged commit ce9ad67 into master Apr 2, 2016
@levithomason levithomason deleted the feature/common-tests branch April 2, 2016 04:40
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

Successfully merging this pull request may close these issues.

1 participant