Add tests for fix to getOidcCallbackUrl (#2248)

This commit is contained in:
Michael Telatynski
2025-04-11 16:10:11 +00:00
committed by GitHub
parent aabbb8772d
commit 4fe0384523
2 changed files with 46 additions and 8 deletions
+10 -8
View File
@@ -11,16 +11,18 @@ import { platform } from "node:os";
import { test, expect } from "../../element-desktop-test.js";
declare global {
interface ElectronPlatform {
getEventIndexingManager():
| {
supportsEventIndexing(): Promise<boolean>;
}
| undefined;
createPickleKey(userId: string, deviceId: string): Promise<string | null>;
}
interface Window {
mxPlatformPeg: {
get(): {
getEventIndexingManager():
| {
supportsEventIndexing(): Promise<boolean>;
}
| undefined;
createPickleKey(userId: string, deviceId: string): Promise<string | null>;
};
get(): ElectronPlatform;
};
}
}