fix tests
This commit is contained in:
@@ -42,7 +42,7 @@ import DMRoomMap from "../../../src/utils/DMRoomMap";
|
|||||||
configure({ adapter: new Adapter() });
|
configure({ adapter: new Adapter() });
|
||||||
|
|
||||||
let client;
|
let client;
|
||||||
const room = new Matrix.Room();
|
const room = new Matrix.Room("!roomId:server_name");
|
||||||
|
|
||||||
// wrap MessagePanel with a component which provides the MatrixClient in the context.
|
// wrap MessagePanel with a component which provides the MatrixClient in the context.
|
||||||
class WrappedMessagePanel extends React.Component {
|
class WrappedMessagePanel extends React.Component {
|
||||||
|
|||||||
Reference in New Issue
Block a user