1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-07 21:23:00 +03:00

Introduce small delay to let redaction propagate for tests (#8311)

This commit is contained in:
Michael Telatynski
2022-04-13 19:39:30 +01:00
committed by GitHub
parent 26b771bbf9
commit 0e68c16a90

View File

@@ -92,6 +92,7 @@ export async function redactThreadMessage(session: ElementSession): Promise<void
session.log.done();
await session.query(".mx_ThreadView .mx_RedactedBody");
await session.delay(200); // give the app a chance to settle
session.log.endGroup();
}