@types/karma-detect-browsers
TypeScript icon, indicating that this package has built-in type declarations

2.3.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/karma-detect-browsers

Weekly Downloads

562

Version

2.3.4

License

MIT

Unpacked Size

4.41 kB

Total Files

5

Last publish

Collaborators

  • types