Fix tests

This commit is contained in:
Andras Schmelczer 2026-04-26 13:08:10 +01:00
parent fc0ff0df1c
commit 2a6d824cc9
6 changed files with 8 additions and 58 deletions

View file

@ -76,7 +76,7 @@ export class ServerConfig {
return this.config;
}
private startPing(): Promise<PingResponse> {
private async startPing(): Promise<PingResponse> {
const pending = this.syncService.ping().catch((e: unknown) => {
if (this.response === pending) {
this.response = undefined;

View file

@ -441,7 +441,7 @@ export class SyncEventQueue {
newPath: RelativePath
): void {
const createEvent = this.findLatestCreateForPath(oldPath);
if (createEvent === undefined) {return;}
if (createEvent === undefined) { return; }
const { promise } = createEvent.resolvers;
createEvent.path = newPath;