Fix tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/27047/head
Michael Telatynski 2024-02-22 14:24:38 +00:00
parent 89e1865d48
commit 2160cf2f66
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ describe("Loading server config", function () {
},
});
fetchMock.get("/version", "1.10.13");
fetchMock.catch(404);
});
it("should use the default_server_config", async function () {

View File

@ -47,6 +47,7 @@ describe("Wrapper", () => {
},
});
fetchMock.get("/version", "1.10.13");
fetchMock.catch(404);
});
it("wrap a matrix chat with header and footer", async () => {