Make messaging/relink mock test more reliable
Co-authored-by: Fedor Indutny <indutny@signal.org>
This commit is contained in:
parent
3914216f5c
commit
c040cb2d6c
6 changed files with 63 additions and 19 deletions
|
@ -180,6 +180,10 @@ export class App extends EventEmitter {
|
|||
return window.evaluate('window.SignalCI.unlink()');
|
||||
}
|
||||
|
||||
public async waitForUnlink(): Promise<void> {
|
||||
return this.waitForEvent('unlinkCleanupComplete');
|
||||
}
|
||||
|
||||
// EventEmitter types
|
||||
|
||||
public override on(type: 'close', callback: () => void): this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue