1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-06-27 15:01:53 +03:00

restore the room header too

This commit is contained in:
David Baker
2016-06-17 12:23:45 +01:00
parent b0bf24c136
commit d3a463e9ac

View File

@ -20,6 +20,7 @@ describe('RoomView', function () {
sandbox = test_utils.stubClient();
this.oldTimelinePanel = Skinner.getComponent('structures.TimelinePanel');
this.oldRoomHeader = Skinner.getComponent('views.rooms.RoomHeader');
Skinner.addComponent('structures.TimelinePanel', stubComponent());
Skinner.addComponent('views.rooms.RoomHeader', stubComponent());
@ -29,6 +30,7 @@ describe('RoomView', function () {
afterEach(function() {
sandbox.restore();
Skinner.addComponent('structures.TimelinePanel', this.oldTimelinePanel);
Skinner.addComponent('views.rooms.RoomHeader', this.oldRoomHeader);
});
it('resolves a room alias to a room id', function (done) {