Skip to content

Commit a49246d

Browse files
committed
remove debug code
1 parent 5f10f51 commit a49246d

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

js/api_tests/src/outputs_api_tests.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,7 @@ q.test('set output device', async assert =>
2929
{
3030
for (const deviceId of config.deviceIds)
3131
{
32-
try
33-
{
34-
await client.setOutputDevice(config.typeId, deviceId);
35-
}
36-
catch(error)
37-
{
38-
throw new Error(
39-
`setOutputDevice error: type: ${config.typeId}; device: ${deviceId}; error: ${error.message}`);
40-
}
41-
32+
await client.setOutputDevice(config.typeId, deviceId);
4233
const output = (await client.getOutputs()).active;
4334
assert.equal(output.typeId, config.typeId);
4435
assert.equal(output.deviceId, deviceId);

0 commit comments

Comments
 (0)