mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(tests): When checking audio levels make sure testMode and debugAudioLevels are present.
This commit is contained in:
@@ -9,7 +9,16 @@ import {
|
||||
|
||||
describe('StartMuted', () => {
|
||||
it('checkboxes test', async () => {
|
||||
const options = { configOverwrite: { p2p: { enabled: true } } };
|
||||
const options = {
|
||||
configOverwrite: {
|
||||
p2p: {
|
||||
enabled: true
|
||||
},
|
||||
testing: {
|
||||
testMode: true,
|
||||
debugAudioLevels: true
|
||||
}
|
||||
} };
|
||||
|
||||
await ensureOneParticipant(ctx, options);
|
||||
|
||||
@@ -162,7 +171,11 @@ describe('StartMuted', () => {
|
||||
|
||||
const options = {
|
||||
configOverwrite: {
|
||||
startWithAudioMuted: true
|
||||
startWithAudioMuted: true,
|
||||
testing: {
|
||||
testMode: true,
|
||||
debugAudioLevels: true
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -191,6 +204,10 @@ describe('StartMuted', () => {
|
||||
await ensureOneParticipant(ctx, options);
|
||||
await joinSecondParticipant(ctx, {
|
||||
configOverwrite: {
|
||||
testing: {
|
||||
testMode: true,
|
||||
debugAudioLevels: true
|
||||
},
|
||||
p2p: {
|
||||
enabled: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user