Closed
Description
Describe the feature you'd like:
Just a renaming of the attribute data-testid
to data-test-id
or create a custom babel plugin (fork) of https://www.npmjs.com/package/babel-plugin-jsx-remove-data-test-id which removes the attributes on prod builds.
Suggested implementation:
- rename the
data-testid
attribute todata-test-id
- fork https://www.npmjs.com/package/babel-plugin-jsx-remove-data-test-id and adapt it to support
data-testid
Describe alternatives you've considered:
Hmm... I'll create a fork of the babel plugin for my self 😆
Teachability, Documentation, Adoption, Migration Strategy:
It's a breaking change for solution 1 or we have to maintain a babel plugin on solution 2
Metadata
Metadata
Assignees
Labels
No labels