You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-23 17:02:25 +03:00
fixup testrs
This commit is contained in:
@@ -241,7 +241,7 @@ describe("MatrixRTCSession", () => {
|
||||
it("perfers sticky events when both membership and sticky events appear for the same user", () => {
|
||||
// Create a room with identical member state and sticky state for the same user.
|
||||
const mockRoom = makeMockRoom([membershipTemplate]);
|
||||
mockRoom.unstableGetStickyEvents.mockImplementation(() => {
|
||||
mockRoom._unstable_getStickyEvents.mockImplementation(() => {
|
||||
const ev = mockRTCEvent(
|
||||
{
|
||||
...membershipTemplate,
|
||||
@@ -269,7 +269,7 @@ describe("MatrixRTCSession", () => {
|
||||
// Create a room with identical member state and sticky state for the same user.
|
||||
const mockRoom = makeMockRoom([membershipTemplate]);
|
||||
const otherUserId = "@othermock:user.example";
|
||||
mockRoom.unstableGetStickyEvents.mockImplementation(() => {
|
||||
mockRoom._unstable_getStickyEvents.mockImplementation(() => {
|
||||
const ev = mockRTCEvent(
|
||||
{
|
||||
...membershipTemplate,
|
||||
|
||||
Reference in New Issue
Block a user