@@ -321,9 +321,8 @@ describe("ApplicationManagerBase", () => {
321321 currentlyAvailableAppsForDebugging,
322322 numberOfViewsPerApp
323323 );
324- const currentDebuggableViews: IDictionary<
325- Mobile.IDebugWebViewInfo[]
326- > = {};
324+ const currentDebuggableViews: IDictionary<Mobile.IDebugWebViewInfo[]> =
325+ {};
327326 applicationManager.on(
328327 "debuggableViewFound",
329328 (appIdentifier: string, d: Mobile.IDebugWebViewInfo) => {
@@ -368,9 +367,8 @@ describe("ApplicationManagerBase", () => {
368367 const expectedResults = _.cloneDeep(
369368 currentlyAvailableAppWebViewsForDebugging
370369 );
371- const currentDebuggableViews: IDictionary<
372- Mobile.IDebugWebViewInfo[]
373- > = {};
370+ const currentDebuggableViews: IDictionary<Mobile.IDebugWebViewInfo[]> =
371+ {};
374372
375373 applicationManager
376374 .checkForApplicationUpdates()
@@ -819,9 +817,8 @@ describe("ApplicationManagerBase", () => {
819817 removedApps = removedApps.concat(currentlyRemovedApps);
820818
821819 const currentlyAddedApps = [`app${index}`];
822- currentlyInstalledApps = currentlyInstalledApps.concat(
823- currentlyAddedApps
824- );
820+ currentlyInstalledApps =
821+ currentlyInstalledApps.concat(currentlyAddedApps);
825822 installedApps = installedApps.concat(currentlyAddedApps);
826823
827824 await testInstalledAppsResults();
@@ -1004,7 +1001,11 @@ describe("ApplicationManagerBase", () => {
10041001 applicationManager.isApplicationInstalled = (appIdentifier: string) =>
10051002 Promise.resolve(true);
10061003
1007- await applicationManager.reinstallApplication("appId", "packageFilePath");
1004+ await applicationManager.reinstallApplication(
1005+ "appId",
1006+ "packageFilePath",
1007+ { clean: true } as any
1008+ );
10081009 assert.deepStrictEqual(uninstallApplicationAppIdParam, "appId");
10091010 });
10101011
@@ -1047,7 +1048,11 @@ describe("ApplicationManagerBase", () => {
10471048 return Promise.resolve();
10481049 };
10491050
1050- await applicationManager.reinstallApplication("appId", "packageFilePath");
1051+ await applicationManager.reinstallApplication(
1052+ "appId",
1053+ "packageFilePath",
1054+ { clean: true } as any
1055+ );
10511056
10521057 assert.isTrue(
10531058 isUninstallApplicationCalled,
0 commit comments