-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Why test.each table-variable for string data type, has double quotes? #7689
Comments
The reason is because we use I agree it's suboptimal, though. @mattphillips maybe special case primitives and not pass them through |
@SimenB I agree it makes sense to just use primative’s I’ll try and take a look at this today, it’s probably a breaking change so might be good to get out with 24? |
I wouldn't necessarily call it breaking (it'd just affect the string in reports, which I think we should reserver the right to change at will). However, it would be nice to get it into 24 😀 |
Yeah I suppose it could be called a bug fix tbf, that said it could break snapshots 🤷♂️ |
I'll only break if people snapshot the output of Jest, which I think is fair? Who knows 😛 |
I think what Matt is referring to is the name of the snapshots when you're using snapshots in |
Ah! That's a good point, didn't think of that. Would be great to get in int time for 24, then |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
💬 Questions and Help
If I use code like this:
test will generate following output:
Why is the string the only type that has double quotes, if we needed double quotes couldn't we add them on our own? (basically I am looking way remove those quotes which will give me more descriptive ability when I write tests)
Can you give me source code link/lines that does transformation?
Thank you,
The text was updated successfully, but these errors were encountered: