-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
snapshot uses transpiled code instead of component #1756
Comments
it looks like something is calling |
I do not see any explicit
|
I don't think so. |
hi. I couldn't quite follow thanks.
|
This is really odd. The only thing that happened last week that was changed was updates to React itself. Jest hasn't changed but many people report having these issues right now. :( |
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. |
Hi,
I have a snapshot test, for a view which includes some custom component for labels. The test runs fine, except messy snapshot.
The real component,
react-select
is mocked asjest.mock('react-select', () => 'ReactSelect');
, due to this #1353 (comment)so, the question is, why the snapshot just use something like
than the transpiled javascript. It works fine on browser, and please give me some scenarios where this can happen.
jest version = 15.1.1
The text was updated successfully, but these errors were encountered: