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

Don't filter props on string tags started with Uppercase letter #443

Merged
merged 3 commits into from
Nov 5, 2017

Conversation

asvetliakov
Copy link
Contributor

@asvetliakov asvetliakov commented Nov 4, 2017

What: Don't filter props on string tags started with Upper case letter

Why: In Jest, it's common to mock external React components with just string, i.e. "MyComponent" if you're not using shallow renderer. Also, any capitalized tags in React are considered as user defined

How: See PR

Checklist:

  • Documentation
  • Tests
  • Code complete

@codecov
Copy link

codecov bot commented Nov 4, 2017

Codecov Report

Merging #443 into master will not change coverage.
The diff coverage is 100%.

Impacted Files Coverage Δ
packages/react-emotion/src/index.js 100% <100%> (ø) ⬆️

@emmatown emmatown merged commit dd4068f into emotion-js:master Nov 5, 2017
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.

3 participants