2.3.4 • Published 2 years ago

@types/karma-detect-browsers v2.3.4

Weekly downloads
1,353
License
MIT
Repository
github
Last release
2 years ago

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

// Type definitions for karma-detect-browsers 2.3
// Project: https://github.com/litixsoft/karma-detect-browsers
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.2

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: Thu, 08 Jul 2021 16:23:05 GMT
  • Dependencies: @types/karma
  • Global values: none

Credits

These definitions were written by Piotr Błażejewicz.

2.3.2

2 years ago

2.3.4

2 years ago

2.3.3

2 years ago

2.3.1

4 years ago

2.3.0

5 years ago