svgr icon indicating copy to clipboard operation
svgr copied to clipboard

[CUSTOM-TEMPLATE] write test prove failing scenario

Open cgreene-st opened this issue 2 years ago • 1 comments

Summary

Cannot add comments to a custom template even though it looks like you should. The feature was added recently (#661) so it should work, but from my testing locally and this draft PR the test fails.

The scenario being, you want to add a comment to top of a custom template, to indicate that it's generated and not to edit. This is especially handy if you're adding the generated icons to source.

Test plan

  • Added a test of the failing scenario but don't have a fix yet.

NOTE: I've edited the snapshot to be what I expect, so the test is currently failing.

cgreene-st avatar Jul 27 '22 06:07 cgreene-st

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
svgr ✅ Ready (Inspect) Visit Preview Jul 27, 2022 at 6:48AM (UTC)

vercel[bot] avatar Jul 27 '22 06:07 vercel[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 01 '22 05:10 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 07 '23 20:01 stale[bot]

Closed as staled.

gregberge avatar Mar 14 '23 08:03 gregberge