-
-
Notifications
You must be signed in to change notification settings - Fork 213
Closed
Labels
Description
Description
When testing components we usually assign certain JSX attributes such as data-testid. I'd like to have an option to specify certain attributes to be stripped during the transform stage. There are babel plugins that accomplish this and can be easily integrated into this pipeline.
Suggested solution
babel-plugin-react-remove-properties can be used to configure which attributes to remove.
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.