Skip to content

Commit

Permalink
Merge branch 'develop' into toger5/new-MembershipManager
Browse files Browse the repository at this point in the history
  • Loading branch information
toger5 committed Feb 27, 2025
2 parents 631de6e + a3bbc49 commit 713ea89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/unit/matrixrtc/MembershipManager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,8 @@ describe.each([
);
});
// FailsForLegacy because legacy implementation always sends the empty state event even though it isn't needed
it("does nothing if not joined !FailsForLegacy", async () => {
it("does nothing if not joined !FailsForLegacy", () => {
const manager = new TestMembershipManager({}, room, client, () => undefined);
await manager.leave();
expect(async () => await manager.leave()).not.toThrow();
expect(client._unstable_sendDelayedStateEvent).not.toHaveBeenCalled();
expect(client.sendStateEvent).not.toHaveBeenCalled();
Expand Down

0 comments on commit 713ea89

Please sign in to comment.