Upgrade electron to 25.4.0

This commit is contained in:
Fedor Indutny 2023-08-07 20:42:01 +02:00 committed by GitHub
parent 1315d3cfe0
commit 55394e17c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View file

@ -25,9 +25,10 @@ describe('PreventDisplaySleepService', () => {
return result;
}
stop(id: number): void {
stop(id: number): boolean {
assert(this.idsStarted.has(id), `${id} was never started`);
this.idsStarted.delete(id);
return false;
}
// This is only for testing.