mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 04:48:50 +03:00
restore the room header too
This commit is contained in:
parent
b0bf24c136
commit
d3a463e9ac
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ describe('RoomView', function () {
|
||||||
sandbox = test_utils.stubClient();
|
sandbox = test_utils.stubClient();
|
||||||
|
|
||||||
this.oldTimelinePanel = Skinner.getComponent('structures.TimelinePanel');
|
this.oldTimelinePanel = Skinner.getComponent('structures.TimelinePanel');
|
||||||
|
this.oldRoomHeader = Skinner.getComponent('views.rooms.RoomHeader');
|
||||||
Skinner.addComponent('structures.TimelinePanel', stubComponent());
|
Skinner.addComponent('structures.TimelinePanel', stubComponent());
|
||||||
Skinner.addComponent('views.rooms.RoomHeader', stubComponent());
|
Skinner.addComponent('views.rooms.RoomHeader', stubComponent());
|
||||||
|
|
||||||
|
@ -29,6 +30,7 @@ describe('RoomView', function () {
|
||||||
afterEach(function() {
|
afterEach(function() {
|
||||||
sandbox.restore();
|
sandbox.restore();
|
||||||
Skinner.addComponent('structures.TimelinePanel', this.oldTimelinePanel);
|
Skinner.addComponent('structures.TimelinePanel', this.oldTimelinePanel);
|
||||||
|
Skinner.addComponent('views.rooms.RoomHeader', this.oldRoomHeader);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('resolves a room alias to a room id', function (done) {
|
it('resolves a room alias to a room id', function (done) {
|
||||||
|
|
Loading…
Reference in a new issue