Skip to content

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

434 B
Raw Blame
import type { Participant } from '../../helpers/Participant';
import { expectations } from '../../helpers/expectations';

export async function checkIframeApi(p: Participant) {
    const iframeEnabled = !await p.execute(() => config.disableIframeAPI);

    expect(iframeEnabled).toBe(expectations.iframe.enabled);
    if (!iframeEnabled) {
        ctx.skipSuiteTests = 'The iFrame API is disabled';
    }

    return iframeEnabled;
}