Fix tsc issues in right_panel and room component tests (#8078)
* fix ts issues in SendMessageComposer-test Signed-off-by: Kerry Archibald <kerrya@element.io> * remove empty file Signed-off-by: Kerry Archibald <kerrya@element.io> * fix tsc issues in MessageComposerbUttons-test Signed-off-by: Kerry Archibald <kerrya@element.io> * fix the rest Signed-off-by: Kerry Archibald <kerrya@element.io> * bad autoformatter Signed-off-by: Kerry Archibald <kerrya@element.io> * tsc fixes for test/components/views/right_panel Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
parent
d7a3f39a3e
commit
026ca1ab64
9 changed files with 125 additions and 88 deletions
|
@ -81,6 +81,7 @@ describe("SearchResultTile", () => {
|
|||
const tiles = wrapper.find(EventTile);
|
||||
expect(tiles.length).toEqual(2);
|
||||
expect(tiles.at(0).prop("mxEvent").getId()).toBe("$1:server");
|
||||
// @ts-ignore accessing private property
|
||||
expect(tiles.at(0).prop("callEventGrouper").events.size).toBe(2);
|
||||
expect(tiles.at(1).prop("mxEvent").getId()).toBe("$144429830826TWwbB:localhost");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue