mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-20 04:11:39 +08:00
another test case
This commit is contained in:
16
test/template/scenarios/scenarioRestart2x.js
Normal file
16
test/template/scenarios/scenarioRestart2x.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import CodePush from "react-native-code-push";
|
||||
|
||||
module.exports = {
|
||||
startTest: function(testApp) {
|
||||
CodePush.restartApp(true);
|
||||
CodePushWrapper.checkAndInstall(testApp,
|
||||
() => {
|
||||
CodePush.restartApp(true);
|
||||
}
|
||||
);
|
||||
},
|
||||
|
||||
getScenarioName: function() {
|
||||
return "Restart2x";
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user