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:
@@ -18,7 +18,7 @@ test.describe("Presence tests", () => {
|
||||
// This is failing on CI (https://github.com/element-hq/element-web/issues/27270)
|
||||
// but not locally, so debugging this is going to be tricky. Let's disable it for now.
|
||||
test.skip("renders unreachable presence state correctly", async ({ page, app, user, bot: bob }) => {
|
||||
await app.client.createRoom({ name: "My Room", invite: [bob.credentials.userId] });
|
||||
await app.client.createRoom({ name: "My Room", invite: [bob.credentials!.userId] });
|
||||
await app.viewRoomByName("My Room");
|
||||
|
||||
await bob.evaluate(async (client) => {
|
||||
@@ -36,7 +36,7 @@ test.describe("Presence tests", () => {
|
||||
events: [
|
||||
{
|
||||
type: "m.presence",
|
||||
sender: bob.credentials.userId,
|
||||
sender: bob.credentials!.userId,
|
||||
content: {
|
||||
presence: "io.element.unreachable",
|
||||
currently_active: false,
|
||||
|
||||
Reference in New Issue
Block a user