Check if this is a test
This commit is contained in:
+11
-2
@@ -26,13 +26,22 @@ let ScreenShare;
|
||||
|
||||
let Spotlights;
|
||||
|
||||
const {
|
||||
let turnServers,
|
||||
requestTimeout,
|
||||
transportOptions,
|
||||
lastN,
|
||||
mobileLastN;
|
||||
|
||||
if (process.env.NODE_ENV !== 'test')
|
||||
{
|
||||
({
|
||||
turnServers,
|
||||
requestTimeout,
|
||||
transportOptions,
|
||||
lastN,
|
||||
mobileLastN
|
||||
} = window.config;
|
||||
} = window.config);
|
||||
}
|
||||
|
||||
const logger = new Logger('RoomClient');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user