fix merge issue that added back a deprecated test
This commit is contained in:
@@ -160,21 +160,6 @@ test("control a participant's screen share volume", () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
test("toggle fit/contain for a participant's video", () => {
|
|
||||||
const vm = mockRemoteMedia(rtcMembership, {}, mockRemoteParticipant({}));
|
|
||||||
withTestScheduler(({ expectObservable, schedule }) => {
|
|
||||||
schedule("-ab|", {
|
|
||||||
a: () => vm.toggleCropVideo(),
|
|
||||||
b: () => vm.toggleCropVideo(),
|
|
||||||
});
|
|
||||||
expectObservable(vm.cropVideo$).toBe("abc", {
|
|
||||||
a: true,
|
|
||||||
b: false,
|
|
||||||
c: true,
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
test("local media remembers whether it should always be shown", () => {
|
test("local media remembers whether it should always be shown", () => {
|
||||||
const vm1 = mockLocalMedia(
|
const vm1 = mockLocalMedia(
|
||||||
rtcMembership,
|
rtcMembership,
|
||||||
|
|||||||
Reference in New Issue
Block a user