Skip to content

Commit dd7b953

Browse files
committed
fix(tests): When checking audio levels make sure testMode and debugAudioLevels are present.
1 parent 1f2aaa8 commit dd7b953

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

tests/specs/3way/startMuted.spec.ts

+19-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@ import {
99

1010
describe('StartMuted', () => {
1111
it('checkboxes test', async () => {
12-
const options = { configOverwrite: { p2p: { enabled: true } } };
12+
const options = {
13+
configOverwrite: {
14+
p2p: {
15+
enabled: true
16+
},
17+
testing: {
18+
testMode: true,
19+
debugAudioLevels: true
20+
}
21+
} };
1322

1423
await ensureOneParticipant(ctx, options);
1524

@@ -162,7 +171,11 @@ describe('StartMuted', () => {
162171

163172
const options = {
164173
configOverwrite: {
165-
startWithAudioMuted: true
174+
startWithAudioMuted: true,
175+
testing: {
176+
testMode: true,
177+
debugAudioLevels: true
178+
}
166179
}
167180
};
168181

@@ -191,6 +204,10 @@ describe('StartMuted', () => {
191204
await ensureOneParticipant(ctx, options);
192205
await joinSecondParticipant(ctx, {
193206
configOverwrite: {
207+
testing: {
208+
testMode: true,
209+
debugAudioLevels: true
210+
},
194211
p2p: {
195212
enabled: true
196213
}

0 commit comments

Comments
 (0)