Skip to content

[Eslint | Jest] : Parse errors in imported module 'react-native-inappbrowser-reborn': Cannot read properties of undefined (reading 'forEach') (undefined:undefined)eslintimport/default #478

@OmkarK45

Description

@OmkarK45

Hi folks!

Trying to import the library in a jest test but getting the following issue

import InAppBrowser from 'react-native-inappbrowser-reborn';
^
Parse errors in imported module 'react-native-inappbrowser-reborn': Cannot read properties of undefined (reading 'forEach') (undefined:undefined) eslint(import/default)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions