fix(tests): When checking audio levels make sure testMode and debugAudioLevels are present.

This commit is contained in:
damencho
2025-03-21 12:00:29 -05:00
committed by Дамян Минков
parent 1f2aaa8dc0
commit dd7b953a92

View File

@@ -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
}