@@ -321,9 +321,8 @@ describe("ApplicationManagerBase", () => {
321
321
currentlyAvailableAppsForDebugging ,
322
322
numberOfViewsPerApp
323
323
) ;
324
- const currentDebuggableViews : IDictionary <
325
- Mobile . IDebugWebViewInfo [ ]
326
- > = { } ;
324
+ const currentDebuggableViews : IDictionary < Mobile . IDebugWebViewInfo [ ] > =
325
+ { } ;
327
326
applicationManager . on (
328
327
"debuggableViewFound" ,
329
328
( appIdentifier : string , d : Mobile . IDebugWebViewInfo ) => {
@@ -368,9 +367,8 @@ describe("ApplicationManagerBase", () => {
368
367
const expectedResults = _ . cloneDeep (
369
368
currentlyAvailableAppWebViewsForDebugging
370
369
) ;
371
- const currentDebuggableViews : IDictionary <
372
- Mobile . IDebugWebViewInfo [ ]
373
- > = { } ;
370
+ const currentDebuggableViews : IDictionary < Mobile . IDebugWebViewInfo [ ] > =
371
+ { } ;
374
372
375
373
applicationManager
376
374
. checkForApplicationUpdates ( )
@@ -819,9 +817,8 @@ describe("ApplicationManagerBase", () => {
819
817
removedApps = removedApps . concat ( currentlyRemovedApps ) ;
820
818
821
819
const currentlyAddedApps = [ `app${ index } ` ] ;
822
- currentlyInstalledApps = currentlyInstalledApps . concat (
823
- currentlyAddedApps
824
- ) ;
820
+ currentlyInstalledApps =
821
+ currentlyInstalledApps . concat ( currentlyAddedApps ) ;
825
822
installedApps = installedApps . concat ( currentlyAddedApps ) ;
826
823
827
824
await testInstalledAppsResults ( ) ;
@@ -1004,7 +1001,11 @@ describe("ApplicationManagerBase", () => {
1004
1001
applicationManager . isApplicationInstalled = ( appIdentifier : string ) =>
1005
1002
Promise . resolve ( true ) ;
1006
1003
1007
- await applicationManager . reinstallApplication ( "appId" , "packageFilePath" ) ;
1004
+ await applicationManager . reinstallApplication (
1005
+ "appId" ,
1006
+ "packageFilePath" ,
1007
+ { clean : true } as any
1008
+ ) ;
1008
1009
assert . deepStrictEqual ( uninstallApplicationAppIdParam , "appId" ) ;
1009
1010
} ) ;
1010
1011
@@ -1047,7 +1048,11 @@ describe("ApplicationManagerBase", () => {
1047
1048
return Promise . resolve ( ) ;
1048
1049
} ;
1049
1050
1050
- await applicationManager . reinstallApplication ( "appId" , "packageFilePath" ) ;
1051
+ await applicationManager . reinstallApplication (
1052
+ "appId" ,
1053
+ "packageFilePath" ,
1054
+ { clean : true } as any
1055
+ ) ;
1051
1056
1052
1057
assert . isTrue (
1053
1058
isUninstallApplicationCalled ,
0 commit comments