Skip to content
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

Test for duplicate icon names and fail when two icons have the same name #322

Merged
merged 9 commits into from
Jun 21, 2019

Conversation

jonrohan
Copy link
Member

@jonrohan jonrohan commented Jun 20, 2019

Caveat: This isn't currently failing because the data being output needs massaging. We're currently using a sha'd version of the exporter because I haven't had time to adjust the build processes for data structure changes.

When this does work it will go through each icon and test if there's another icon with the same name but different figma id. When that happens it will fail.

@jonrohan jonrohan changed the title WIP Test for duplicate icon names and fail when two icons have the same name Jun 20, 2019
@jonrohan jonrohan marked this pull request as ready for review June 20, 2019 20:09
tests/index.js Outdated Show resolved Hide resolved
tests/index.js Outdated Show resolved Hide resolved
Copy link
Contributor

@shawnbot shawnbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just had a couple of very minor suggestions; otherwise this looks good. Thanks for adding this!

@jonrohan jonrohan changed the base branch from master to release-9.1.1 June 21, 2019 05:49
@jonrohan jonrohan merged commit 5e0d1ea into release-9.1.1 Jun 21, 2019
@jonrohan jonrohan deleted the duplicate_icons branch June 21, 2019 05:58
@ashygee ashygee mentioned this pull request Jun 21, 2019
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants