-
Notifications
You must be signed in to change notification settings - Fork 81
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
Error: Expected a ReactElement, got number
#8
Comments
Well @fzaninotto it all look very good: you have the unit test and the fix, shoot me a PR! Or I will do the change but really you already did all the work :) |
I was kinda hoping I wouldn't have to clone your repo... |
Wfm. I do think the effort you put in writing the issue was longer than just submitting a PR thought :-D |
vvo
pushed a commit
to algolia/expect-jsx
that referenced
this issue
Nov 8, 2015
fixed and released expect-jsx@2.1.1
|
1 task
1 task
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unit test:
Output:
I managed to fix it by adding another condition on type 'number' on
react-element-to-jsx-string/index.js
Line 14 in 1e63273
The text was updated successfully, but these errors were encountered: