fix tests

This commit is contained in:
Geoffrey Goh
2015-11-24 18:33:02 -08:00
parent 7b3eb35bf8
commit 75cd65ed10
8 changed files with 10 additions and 18 deletions

View File

@@ -321,7 +321,7 @@ RCT_EXPORT_METHOD(downloadUpdate:(NSDictionary*)updatePackage
progressCallback:^(long expectedContentLength, long receivedContentLength) {
// Notify the script-side about the progress
[self.bridge.eventDispatcher
sendAppEventWithName:@"CodePushDownloadProgress"
sendDeviceEventWithName:@"CodePushDownloadProgress"
body:@{
@"totalBytes":[NSNumber numberWithLong:expectedContentLength],
@"receivedBytes":[NSNumber numberWithLong:receivedContentLength]