-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
'Cannot convert a Symbol value to a string' when i test react. #2856
'Cannot convert a Symbol value to a string' when i test react. #2856
Comments
any solution ? |
From the posted code:
The code 'output' has the type of a ES6 Symbol and these do not convert to String. There is nothing karma can do to change this result. You could complain to es-discuss I suppose. |
@johnjbarton Kind of weak excuse especial that Why can't you just add case for |
This is a common issue everywhere console and symbol meet, eg
Because karma stringify is not involved in the code discussed here. It is is just console and react. But you are welcome to prepare a PR and prove me wrong. |
maybe we have different case im using jasmine@3.1.0 for my tests but same error for me its:
also for me adding
in stringify is enough but i don't see it in my console.log output even if i add some additional marking for it like instead But from i see above he also had:
|
Yes, that does look like an issue in karma. |
I have a problem with writing PR for this I can't find branch that passes running tests or build |
Yes, that is due to an update on chrome, I'm working on it. |
Ok |
I have created PR for it #2990 but still have some issues with tests. |
Expected behaviour
No Error.
Actual behaviour
Environment Details
Steps to reproduce the behaviour
The text was updated successfully, but these errors were encountered: