This commit is contained in:
Geoffrey Goh
2015-12-23 21:24:29 -08:00
parent aac19e25d6
commit ebd93b53eb
29 changed files with 309 additions and 425 deletions

View File

@@ -21,13 +21,10 @@ let IsFirstRunTest = createTestCaseComponent(
}
remotePackage = Object.assign(remotePackage, PackageMixins.remote);
return Promise.resolve();
},
() => {
remotePackage.download()
.then((localPackage) => {
return localPackage.install(NativeCodePush.codePushInstallModeImmediate);
});
async () => {
let localPackage = await remotePackage.download();
return await localPackage.install(NativeCodePush.codePushInstallModeImmediate);
},
/*passAfterRun*/ false
);