Make apps/web/playwright comply with strict mode (#34403)
* Make apps/web/playwright comply with strict mode Otherwise it sometimes fails to compile matrix-js-sdk as strict mode & noImplicitAny both impact how overloads are asserted * Iterate
This commit is contained in:
@@ -99,9 +99,12 @@ test.describe("HTML Export", () => {
|
||||
|
||||
// Send a bunch of messages to populate the room
|
||||
for (let i = 1; i < 10; i++) {
|
||||
const respone = await app.client.sendMessage(room.roomId, { body: `Testing ${i}`, msgtype: "m.text" });
|
||||
const response = await app.client.sendMessage(room!.roomId, {
|
||||
body: `Testing ${i}`,
|
||||
msgtype: "m.text",
|
||||
});
|
||||
if (i == 1) {
|
||||
await app.client.reactToMessage(room.roomId, null, respone.event_id, "🙃");
|
||||
await app.client.reactToMessage(room!.roomId, null, response.event_id, "🙃");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user