fixup merge

This commit is contained in:
Timo K
2026-01-05 21:08:33 +01:00
parent df2bd22005
commit 5d5d75ebdf
4 changed files with 53 additions and 27 deletions

View File

@@ -18,6 +18,7 @@ import fetchMock from "fetch-mock";
import { getSFUConfigWithOpenID, type OpenIDClientParts } from "./openIDSFU";
import { testJWTToken } from "../utils/test-fixtures";
import { ownMemberMock } from "../utils/test";
const sfuUrl = "https://sfu.example.org";
@@ -42,7 +43,9 @@ describe("getSFUConfigWithOpenID", () => {
});
const config = await getSFUConfigWithOpenID(
matrixClient,
ownMemberMock,
"https://sfu.example.org",
false,
"!example_room_id",
);
expect(config).toEqual({
@@ -63,7 +66,9 @@ describe("getSFUConfigWithOpenID", () => {
try {
await getSFUConfigWithOpenID(
matrixClient,
ownMemberMock,
"https://sfu.example.org",
false,
"!example_room_id",
);
} catch (ex) {
@@ -98,7 +103,9 @@ describe("getSFUConfigWithOpenID", () => {
});
const config = await getSFUConfigWithOpenID(
matrixClient,
ownMemberMock,
"https://sfu.example.org",
false,
"!example_room_id",
);
expect(config).toEqual({