Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(tests): Avoid error after tests.

damenchoe15bf2d4dd5a
diff --git a/tests/wdio.conf.ts b/tests/wdio.conf.ts
index dd674bbe4e..b2cdc3279a 100644
--- a/tests/wdio.conf.ts
+++ b/tests/wdio.conf.ts
@@ -221,11 +221,8 @@ export const config: WebdriverIO.MultiremoteConfig = {
after() {
const { ctx }: any = global;
- if (ctx?.webhooksProxy) {
- ctx.webhooksProxy.disconnect();
- }
-
- ctx.keepAlive?.forEach(clearInterval);
+ ctx?.webhooksProxy?.disconnect();
+ ctx?.keepAlive?.forEach(clearInterval);
},
beforeSession(c, capabilities, specs, cid) {