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] Remove internal icons smoke test #24969

Merged
merged 1 commit into from Feb 16, 2021

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Feb 16, 2021

Ultimately the testing approach is just incompatible with how ES modules work so I want to remove as much commonJS vs ES modules interop problems as possible.

Generally unit tests for internals are debatable. Without going into much detail I find them useful if the unit is complex or breaks often. A smoke tests i.e. just rendering for icons which are used by defaults in tested components don't fall under that category

The test itself is already not that robust in case we ever get rid of individual files using default exports. The test would still pass.

@mui-pr-bot
Copy link

mui-pr-bot commented Feb 16, 2021

No bundle size changes

Generated by 🚫 dangerJS against 3c03283

@eps1lon eps1lon merged commit b724e27 into mui:next Feb 16, 2021
@eps1lon eps1lon deleted the test/remove-internal-icons-smoke-test branch February 16, 2021 17:24
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.

None yet

3 participants