mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-09-15 05:52:39 +00:00
test typo, 'sendMessaage' -> 'sendMessage'
This commit is contained in:
parent
fbb66a58b3
commit
f363ba0607
@ -39,7 +39,7 @@ describe("Test: Report polling", function() {
|
|||||||
await this.mjolnir.client.inviteUser(await client.getUserId(), roomId);
|
await this.mjolnir.client.inviteUser(await client.getUserId(), roomId);
|
||||||
await client.joinRoom(roomId);
|
await client.joinRoom(roomId);
|
||||||
|
|
||||||
const eventId = await client.sendMessaage(roomId, {msgtype: "m.text", body: "uwNd3q"});
|
const eventId = await client.sendMessage(roomId, {msgtype: "m.text", body: "uwNd3q"});
|
||||||
await client.doRequest(
|
await client.doRequest(
|
||||||
"POST",
|
"POST",
|
||||||
`/_matrix/client/r0/rooms/${encodeURIComponent(roomId)}/report/${encodeURIComponent(eventId)}`, "", {
|
`/_matrix/client/r0/rooms/${encodeURIComponent(roomId)}/report/${encodeURIComponent(eventId)}`, "", {
|
||||||
|
Loading…
Reference in New Issue
Block a user