mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-20 04:57:03 +00:00
temp
This commit is contained in:
@@ -429,7 +429,6 @@ describe("LocalMembership", () => {
|
||||
await publishResolver.promise;
|
||||
publishing$.next(true);
|
||||
}),
|
||||
|
||||
publishing$,
|
||||
};
|
||||
publishers.push(p as unknown as Publisher);
|
||||
|
||||
@@ -208,6 +208,13 @@ describe("Publisher", () => {
|
||||
expect(createTracksSpy).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("should unsetHandler and stop tracks on destroy", async () => {
|
||||
await publisher.destroy();
|
||||
expect(publisher.stopTracks).toHaveBeenCalled();
|
||||
expect( this.muteStates.audio.unsetHandler();
|
||||
this.muteStates.video.unsetHandler();).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("Should minimize permission request by querying create at once", async () => {
|
||||
const enableCameraAndMicrophoneSpy = vi.spyOn(
|
||||
localParticipant,
|
||||
|
||||
Reference in New Issue
Block a user