clear updates on new binary

This commit is contained in:
Geoffrey Goh
2015-12-22 12:13:32 -08:00
parent 35945e9fba
commit a2cbdab91b
8 changed files with 34 additions and 33 deletions

View File

@@ -72,7 +72,7 @@
- (void)runTest:(NSString *)testName
{
[CodePush clearTestUpdates];
[CodePush clearUpdates];
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://localhost:8081/CodePushDemoAppTests/InstallUpdateTests/testcases/%@.bundle?platform=ios&dev=true", testName]]
moduleName:testName
initialProperties:nil