Skip to content

rename data-testid to data-test-id #97

Closed
@zanettin

Description

@zanettin

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:

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions