mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-13 10:34:37 +00:00
test coverage?
This commit is contained in:
@@ -67,7 +67,7 @@ const twoMicsAndOneCamMediaDevices = mockMediaDevices({
|
||||
audioInput: {
|
||||
available$: constant(
|
||||
new Map<string, DeviceLabel>([
|
||||
["mic1", { type: "name", name: "Microphone 1" }],
|
||||
["mic1", { type: "number", number: 1 }],
|
||||
["mic2", { type: "name", name: "Microphone 2" }],
|
||||
]),
|
||||
),
|
||||
@@ -122,7 +122,7 @@ describe("createCallFooterViewModel", () => {
|
||||
);
|
||||
|
||||
expect(vm.audioOptions$?.value).toEqual([
|
||||
{ id: "mic1", label: "Microphone 1" },
|
||||
{ id: "mic1", label: "Audio Device 1" },
|
||||
{ id: "mic2", label: "Microphone 2" },
|
||||
]);
|
||||
expect(vm.videoOptions$?.value).toEqual([
|
||||
|
||||
Reference in New Issue
Block a user