Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-07-04 13:51:02 +01:00
parent d60768daec
commit e80ab738ce
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D
2 changed files with 4 additions and 0 deletions

View file

@ -21,6 +21,8 @@ import fetchMock from "fetch-mock-jest";
import { loadApp } from "../../src/vector/app"; import { loadApp } from "../../src/vector/app";
import WebPlatform from "../../src/vector/platform/WebPlatform"; import WebPlatform from "../../src/vector/platform/WebPlatform";
jest.mock("matrix-react-sdk/src/audio/compat");
/** The matrix versions our mock server claims to support */ /** The matrix versions our mock server claims to support */
const SERVER_SUPPORTED_MATRIX_VERSIONS = ["v1.1", "v1.5", "v1.6", "v1.8", "v1.9"]; const SERVER_SUPPORTED_MATRIX_VERSIONS = ["v1.1", "v1.5", "v1.6", "v1.8", "v1.9"];

View file

@ -28,6 +28,8 @@ import WebPlatform from "../../src/vector/platform/WebPlatform";
import { loadApp } from "../../src/vector/app"; import { loadApp } from "../../src/vector/app";
import { waitForLoadingSpinner, waitForWelcomeComponent } from "../test-utils"; import { waitForLoadingSpinner, waitForWelcomeComponent } from "../test-utils";
jest.mock("matrix-react-sdk/src/audio/compat");
/** The matrix versions our mock server claims to support */ /** The matrix versions our mock server claims to support */
const SERVER_SUPPORTED_MATRIX_VERSIONS = ["v1.1", "v1.5", "v1.6", "v1.8", "v1.9"]; const SERVER_SUPPORTED_MATRIX_VERSIONS = ["v1.1", "v1.5", "v1.6", "v1.8", "v1.9"];