You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-07-30 04:23:07 +03:00
Use an opts for helper mk functions; poor man's keyword args.
This commit is contained in:
@ -42,7 +42,9 @@ describe("Room", function() {
|
||||
|
||||
describe("addEventsToTimeline", function() {
|
||||
var events = [
|
||||
new MatrixEvent(utils.mkMessage(roomId, userA, "changing room name")),
|
||||
utils.mkMessage({
|
||||
room: roomId, user: userA, msg: "changing room name", event: true
|
||||
}),
|
||||
new MatrixEvent(utils.mkEvent("m.room.name", roomId, userA, {
|
||||
name: "New Room Name"
|
||||
}))
|
||||
|
Reference in New Issue
Block a user