You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Avoid using deprecated exports & methods from matrix-js-sdk (#12359)
This commit is contained in:
committed by
GitHub
parent
11912a0da0
commit
4941327c78
@ -15,7 +15,8 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import { mocked } from "jest-mock";
|
||||
import { IImageInfo, ISendEventResponse, MatrixClient, RelationType, UploadResponse } from "matrix-js-sdk/src/matrix";
|
||||
import { ISendEventResponse, MatrixClient, RelationType, UploadResponse } from "matrix-js-sdk/src/matrix";
|
||||
import { ImageInfo } from "matrix-js-sdk/src/types";
|
||||
import { defer } from "matrix-js-sdk/src/utils";
|
||||
import encrypt, { IEncryptedFile } from "matrix-encrypt-attachment";
|
||||
|
||||
@ -43,7 +44,7 @@ const createElement = document.createElement.bind(document);
|
||||
describe("ContentMessages", () => {
|
||||
const stickerUrl = "https://example.com/sticker";
|
||||
const roomId = "!room:example.com";
|
||||
const imageInfo = {} as unknown as IImageInfo;
|
||||
const imageInfo = {} as unknown as ImageInfo;
|
||||
const text = "test sticker";
|
||||
let client: MatrixClient;
|
||||
let contentMessages: ContentMessages;
|
||||
|
Reference in New Issue
Block a user