Skip to content

data-testId generated has full filepath #3

Open
@Tanmay2711

Description

@Tanmay2711
  • version:
  • node version: v14.17.5
  • npm (or yarn) version:6.14.14

Do you want to request a feature or report a bug?:

What is the current behavior?:

Currently its generating full file path - including directory like -
image

babel settings -

image

package version -
image

What is the expected behavior?:
I need only filename_componentname_tag name like this. as mentioned on NPM page.
Suggested solution:
take prop which can just eliminate absolute path and will use only filename_componentname_tagname

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions