Installation
npm install --save @types/karma-detect-browsers
Summary
This package contains type definitions for karma-detect-browsers (https://github.com/litixsoft/karma-detect-browsers).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-detect-browsers.
index.d.ts
import "karma";
declare module "karma" {
interface ConfigOptions {
/**
* See https://github.com/karma-runner/karma-coverage/blob/master/docs/configuration.md
*/
detectBrowsers?: KarmaDetectBrowsers | undefined;
}
interface KarmaDetectBrowsers {
/** enable/disable, default is true */
enabled?: boolean | undefined;
/** enable/disable phantomjs support, default is true */
usePhantomJS?: boolean | undefined;
/** use headless mode, for browsers that support it, default is false */
preferHeadless?: boolean | undefined;
/**
* post processing of browsers list
* here you can edit the list of browsers used by karma
*/
postDetection: (availableBrowsers: string[]) => string[];
}
}
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/karma
Credits
These definitions were written by Piotr Błażejewicz.