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:
@@ -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");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user