Add backup comparator test harness
This commit is contained in:
parent
98eb6dec68
commit
84f1d98020
17 changed files with 339 additions and 124 deletions
|
@ -179,6 +179,13 @@ export class App extends EventEmitter {
|
|||
);
|
||||
}
|
||||
|
||||
public async exportPlaintextBackupToDisk(path: string): Promise<Uint8Array> {
|
||||
const window = await this.getWindow();
|
||||
return window.evaluate(
|
||||
`window.SignalCI.exportPlaintextBackupToDisk(${JSON.stringify(path)})`
|
||||
);
|
||||
}
|
||||
|
||||
public async unlink(): Promise<void> {
|
||||
const window = await this.getWindow();
|
||||
return window.evaluate('window.SignalCI.unlink()');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue