fix lint
This commit is contained in:
@@ -1355,7 +1355,8 @@ describe("Room", function() {
|
||||
});
|
||||
|
||||
describe("getMyMembership", function() {
|
||||
it("should return synced membership if membership isn't available yet", async function() {
|
||||
it("should return synced membership if membership isn't available yet",
|
||||
async function() {
|
||||
const room = new Room(roomId, userA);
|
||||
room.setSyncedMembership("invite");
|
||||
expect(room.getMyMembership()).toEqual("invite");
|
||||
|
||||
+1
-1
@@ -260,7 +260,7 @@ Room.prototype.getDMInviter = function() {
|
||||
return this._summaryHeroes[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Sets the membership this room was received as during sync
|
||||
|
||||
Reference in New Issue
Block a user