Skip to content

UNSAFE_getByType equivalent method #427

@LFSCamargo

Description

@LFSCamargo

Ask your Question

There's a way that I can test the same way as the getByType or equivalent? And why this method is called as UNSAFE?
I just need to test the component props and how can I do this without needing to find a children with a test id or a text??
There's any way that I can test only the component props?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions