@fpjs-incubator/broyster
Version:
25 lines (24 loc) • 878 B
TypeScript
import { InlinePluginDef } from 'karma';
import type { FirefoxProfile } from './webdriver_factory';
declare const karmaPlugin: InlinePluginDef;
declare module 'karma' {
interface ConfigOptions {
browserStack?: {
project: string;
build: string | number;
idleTimeout?: number;
queueTimeout?: number;
localIdentifier?: string | undefined;
};
}
interface CustomLauncher {
name?: string | undefined;
/** Actually required, but left optional to avoid clashes with launcher types provided by other Karma plugins */
osVersion?: string | undefined;
deviceType?: 'iPhone' | 'iPad' | undefined;
browserVersion?: string | null | undefined;
firefoxCapabilities?: FirefoxProfile;
useHttps?: boolean | undefined;
}
}
export default karmaPlugin;