Skip to content

Commit 51d7e79

Browse files
committed
Fix types
1 parent 7f27065 commit 51d7e79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cypress/e2e/trafficlight/actions/timeline.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ export function verifyLastMessageIsTrusted(): string {
4747
return "verified";
4848
}
4949

50-
export function getTimeline(): JSONValue {
51-
const rsp = [];
50+
export function getTimeline(): Record<string, any> {
51+
const rsp: any = [];
5252
Cypress.$('.mx_EventTile').each(
5353
function(index, obj) {
54-
tile = {};
54+
const tile = {};
5555
tile['user'] = Cypress.$(obj).find('.mx_BaseAvatar_image').attr('title');
5656
const e2eicon = Cypress.$(obj).find('.mx_EventTile_e2eIcon').attr('class');
5757
tile['e2e_issues'] = e2eicon;

0 commit comments

Comments
 (0)