Skip to content

TypeError: Cannot destructure property 'config' of 'options' as it is undefined. #743

@pouyarahmti

Description

@pouyarahmti

Ask your Question

Hi, I have installed React Native Testing Library and i wanted to test React Navigation as the docs has explained. But i got an error which says TypeError: Cannot destructure property 'config' of 'options' as it is undefined. I wonder if you could help me fix it.

ReactNative: 0.64.1
Jest: 27.0.3
ReactNativeTesting Library: 7.2.0

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