File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 1616 },
1717 "jest" : {
1818 "preset" : " jest-react-native" ,
19+ "setupFiles" : [
20+ ],
1921 "unmockedModulePathPatterns" : [
20- " react-native" ,
21- " firestack"
22+ " ./node_modules/react" ,
23+ " ./node_modules/react-native" ,
24+ " ./node_modules/react-native-mock" ,
25+ " ./node_modules/react-addons-test-utils"
2226 ]
2327 },
2428 "license" : " ISC" ,
5256 "mocha" : " ^3.0.2" ,
5357 "react" : " ^15.3.0" ,
5458 "react-dom" : " ^15.3.0" ,
55- "react-native-mock" : " ^0.2.5 " ,
59+ "react-native-mock" : " ^0.2.6 " ,
5660 "react-test-renderer" : " ^15.3.0" ,
5761 "should" : " ^11.1.0" ,
58- "sinon" : " ^1.17.5 "
62+ "sinon" : " ^2.0.0-pre.2 "
5963 },
6064 "dependencies" : {
6165 "es6-symbol" : " ^3.1.0"
Original file line number Diff line number Diff line change 1+ require ( 'react-native-mock/mock' ) ;
2+
3+ var { NativeEventEmitter, NativeModules } = require ( 'react-native' ) ;
4+
5+ NativeModules . Firestack = {
6+
7+ }
You can’t perform that action at this time.
0 commit comments