Fix tests and convert to RTL (#23474)

This commit is contained in:
Michael Telatynski
2022-10-13 09:22:34 +01:00
committed by GitHub
parent aa6b1d128a
commit 172f2f3993
13 changed files with 194 additions and 302 deletions

View File

@@ -137,7 +137,8 @@ export default class WebPlatform extends VectorBasePlatform {
return true;
}
private pollForUpdate = (
// Exported for tests
public pollForUpdate = (
showUpdate: (currentVersion: string, mostRecentVersion: string) => void,
showNoUpdate?: () => void,
): Promise<UpdateStatus> => {