Skip to content

Commit

Permalink
fix tests (#1205)
Browse files Browse the repository at this point in the history
Co-authored-by: Nina Ciocanu <[email protected]>
  • Loading branch information
ninaceban and Nina Ciocanu authored Oct 29, 2024
1 parent 9474080 commit 19dac86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ describe("StreamingMedia::createMediaEventManager", () => {
});
expect(eventManager.sendEvent).toHaveBeenCalledWith(event, {
mediaOptions,
edgeConfigOverrides: undefined,
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ governing permissions and limitations under the License.
import createTrackMediaSession from "../../../../../src/components/StreamingMedia/createTrackMediaSession.js";
import PlaybackState from "../../../../../src/components/StreamingMedia/constants/playbackState.js";

describe("createTrackMediaEvent", () => {
describe("createTrackMediaSession", () => {
let trackMediaSession;
let mediaEventManager;
let mediaSessionCacheManager;
Expand Down Expand Up @@ -96,6 +96,7 @@ describe("createTrackMediaEvent", () => {
getPlayerDetails,
legacy: false,
},
edgeConfigOverrides: undefined,
});

expect(mediaSessionCacheManager.storeSession).toHaveBeenCalledWith({
Expand Down

0 comments on commit 19dac86

Please sign in to comment.