Skip to content

[CUSTOM-TEMPLATE] write test prove failing scenario#751

Closed
cgreene-st wants to merge 1 commit intogregberge:mainfrom
cgreene-st:custom-template-comments
Closed

[CUSTOM-TEMPLATE] write test prove failing scenario#751
cgreene-st wants to merge 1 commit intogregberge:mainfrom
cgreene-st:custom-template-comments

Conversation

@cgreene-st
Copy link
Copy Markdown

@cgreene-st cgreene-st commented Jul 27, 2022

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.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 27, 2022

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)

@stale
Copy link
Copy Markdown

stale Bot commented Oct 1, 2022

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 stale Bot added the wontfix label Oct 1, 2022
@stale stale Bot closed this Oct 16, 2022
@gregberge gregberge reopened this Oct 16, 2022
@stale stale Bot removed the wontfix label Oct 16, 2022
@stale
Copy link
Copy Markdown

stale Bot commented Jan 7, 2023

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 stale Bot added the wontfix label Jan 7, 2023
@gregberge
Copy link
Copy Markdown
Owner

Closed as staled.

@gregberge gregberge closed this Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants