[tests] misc
This commit is contained in:
parent
77421480b3
commit
8d40739141
|
@ -18,3 +18,8 @@ Object.defineProperty(global, 'firebase', {
|
|||
return bridge.module;
|
||||
},
|
||||
});
|
||||
|
||||
global.sleep = duration =>
|
||||
new Promise(resolve => {
|
||||
setTimeout(resolve, duration);
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--recursive
|
||||
--timeout 120000
|
||||
--slow 750
|
||||
--slow 1
|
||||
--bail
|
||||
--exit
|
||||
--require bridge/platform/node
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
"test-android-cover": "nyc detox test --configuration android.emu.debug",
|
||||
"test-android-cover-reuse": "nyc detox test --configuration android.emu.debug --reuse",
|
||||
"test-ios": "detox test --configuration ios.sim.debug",
|
||||
"test-ios-cover": "nyc detox test --configuration ios.sim.debug --loglevel warn",
|
||||
"test-ios-reuse": "detox test --configuration ios.sim.debug --reuse --loglevel warn",
|
||||
"test-ios-cover": "nyc detox test --configuration ios.sim.debug",
|
||||
"test-ios-cover-reuse": "nyc detox test --configuration ios.sim.debug --reuse --loglevel warn",
|
||||
"ios:pod:install": "cd ios && rm -rf ReactNativeFirebaseDemo.xcworkspace && pod install && cd .."
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue