Created by: gaearon
Fixes the issue in https://github.com/facebook/create-react-app/pull/5147#issuecomment-425768441.
We used to just emit filename for SVG snapshots when imported as React components. But that's not super useful and we forgot to change it before the release.
This prints it as an SVG tag instead, with any props passed in. But we don't render the inside.
Before and after:
- logo.svg
+ <svg
+ className="lol"
+ >
+ logo.svg
+ </svg>
Closes #5191 (closed).