react-native-test-lib-one
v1.0.0
Published
## Getting started
Downloads
5
Readme
react-native-test-lib
Getting started
$ npm install react-native-test-lib --save
Mostly automatic installation
$ react-native link react-native-test-lib
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-test-lib
and addRNTestLib.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNTestLib.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Usage
import RNTestLib from 'react-native-test-lib';
// TODO: What to do with the module?
RNTestLib;