fix tests

This commit is contained in:
Michael Telatynski 2021-06-18 17:56:18 +01:00
parent ab94b284b8
commit 8a3dc1bbdf

View File

@ -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 {