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,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import { render } from "@testing-library/react";
|
||||
import { EventType, MatrixEvent } from "matrix-js-sdk/src/matrix";
|
||||
import { EventType, MatrixEvent, Room } from "matrix-js-sdk/src/matrix";
|
||||
import React from "react";
|
||||
|
||||
import ViewSource from "../../../src/components/structures/ViewSource";
|
||||
@ -43,7 +43,7 @@ describe("ViewSource", () => {
|
||||
content: {},
|
||||
state_key: undefined,
|
||||
});
|
||||
redactedMessageEvent.makeRedacted(redactionEvent);
|
||||
redactedMessageEvent.makeRedacted(redactionEvent, new Room(ROOM_ID, stubClient(), SENDER));
|
||||
});
|
||||
|
||||
beforeEach(stubClient);
|
||||
|
Reference in New Issue
Block a user