Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Issue using via package manager since build is required #157

@lalop

Description

@lalop

According to the documentation you used this library by adding require('react-native-mock/mock'); to tests.
But react-native-mock/mock require ./build/react-native-mock.js which is not into the package when getting it via npm.
So I add to run babel node_modules/react-native-mock/src --out-dir node_modules/react-native-mock/build before using this library.

Is that normal ?

nb: I used the rewrite branch

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