Mock tests: retry app launch until DB initializes
This commit is contained in:
parent
6bd802a03d
commit
47aff178da
25 changed files with 24 additions and 24 deletions
|
@ -81,6 +81,10 @@ export class App extends EventEmitter {
|
|||
return this.waitForEvent('provisioning-url');
|
||||
}
|
||||
|
||||
public async waitForDbInitialized(): Promise<void> {
|
||||
return this.waitForEvent('db-initialized');
|
||||
}
|
||||
|
||||
public async waitUntilLoaded(): Promise<AppLoadedInfoType> {
|
||||
return this.waitForEvent('app-loaded');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue