From 91d973494e3e21b0dc4358e60ad5ac201bc3f704 Mon Sep 17 00:00:00 2001 From: Anton Arnautov Date: Tue, 19 Sep 2023 10:23:00 +0200 Subject: [PATCH] Adjust DynascaleManager test --- .../client/src/helpers/__tests__/DynascaleManager.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/client/src/helpers/__tests__/DynascaleManager.test.ts b/packages/client/src/helpers/__tests__/DynascaleManager.test.ts index 94c7a3f043..3b8753afc1 100644 --- a/packages/client/src/helpers/__tests__/DynascaleManager.test.ts +++ b/packages/client/src/helpers/__tests__/DynascaleManager.test.ts @@ -227,7 +227,7 @@ describe('DynascaleManager', () => { cleanup?.(); - expect(updateSubscription).toHaveBeenCalledWith( + expect(updateSubscription).toHaveBeenLastCalledWith( 'videoTrack', { 'session-id': { dimension: undefined } }, DebounceType.FAST, @@ -278,7 +278,7 @@ describe('DynascaleManager', () => { cleanup?.(); - expect(updateSubscription).toHaveBeenCalledWith( + expect(updateSubscription).toHaveBeenLastCalledWith( 'videoTrack', { 'session-id': { dimension: undefined } }, DebounceType.FAST, @@ -366,7 +366,7 @@ describe('DynascaleManager', () => { cleanup?.(); - expect(updateSubscription).toHaveBeenCalledWith( + expect(updateSubscription).toHaveBeenLastCalledWith( 'videoTrack', { 'session-id': { dimension: undefined } }, DebounceType.FAST, @@ -436,7 +436,7 @@ describe('DynascaleManager', () => { cleanup?.(); - expect(updateSubscription).toHaveBeenCalledWith( + expect(updateSubscription).toHaveBeenLastCalledWith( 'videoTrack', { 'session-id': { dimension: undefined } }, DebounceType.FAST,