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:
@@ -94,7 +94,7 @@ test.describe("Rageshakes", () => {
|
||||
if (request.method() !== "POST") {
|
||||
throw Error("Expected POST");
|
||||
}
|
||||
const fields = formDataParser(request.postData(), await request.headerValue("Content-Type"));
|
||||
const fields = formDataParser(request.postData()!, await request.headerValue("Content-Type"));
|
||||
expect(fields.text).toEqual(
|
||||
"These are some notes\n\nIssue: https://github.com/element-hq/element-web/12345",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user