@types/karma-html-detailed-reporter
TypeScript icon, indicating that this package has built-in type declarations

2.1.4 • Public • Published

Installation

npm install --save @types/karma-html-detailed-reporter

Summary

This package contains type definitions for karma-html-detailed-reporter (https://github.com/a11smiles/karma-html-detailed-reporter).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-html-detailed-reporter.

index.d.ts

import "karma";

declare module "karma" {
    interface ConfigOptions {
        /**
         * The reporter provides a dashboard detailing specification runs
         * see {@link https://github.com/a11smiles/karma-html-detailed-reporter#options}
         */
        htmlDetailed?: HtmlDetailedOptions | undefined;
    }

    /**
     * see {@link https://github.com/a11smiles/karma-html-detailed-reporter#options}
     */
    interface HtmlDetailedOptions {
        /**
         * Enables/disables the refresh to start automatically
         * @default true
         */
        autoReload?: boolean | undefined;
        /**
         * Sets the reports output base path
         * @default './_reports'
         */
        dir?: string | undefined;
        /**
         * Sets the refresh timeout (in milliseconds) for the page
         * @default 1000
         */
        refreshTimeout?: number | undefined;
        /**
         * Determines whether the results are split into a separate file for each browser
         * @default true
         */
        splitResults?: boolean | undefined;
        /**
         * Determines whether the detailed results of the successfull tests are default shown or hidden in the browser (you are able to toggle live in the browser)
         * @default true
         */
        showSuccess?: boolean | undefined;
        /**
         * Determines whether the detailed results of the failed tests are default shown or hidden in the browser (you are able to toggle live in the browser)
         * @default true
         */
        showFailed?: boolean | undefined;
        /**
         * Determines whether the detailed results of the skipped tests are default shown or hidden in the browser (you are able to toggle live in the browser)
         * @default true
         */
        showSkipped?: boolean | undefined;
        /**
         * Determines whether to use the hosted versions of Boostrap and jQuery. If testing within a CI build (e.g. TFS, Jenkins, TeamCity),
         * setting this to true would allow you to see the reports while the builders do not maintain node modules.
         * @default false
         */
        useHostedBootstrap?: boolean | undefined;
    }
}

declare const exp: {
    "preprocessor:htmlDetailed": ["factory", any];
    "reporter:htmlDetailed": ["type", any];
};

export = exp;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: @types/karma

Credits

These definitions were written by Piotr Błażejewicz (Peter Blazejewicz).

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.1.4
    21
  • 2.1.3
    0
  • 2.1.2
    0
  • 2.1.1
    3
  • 2.1.0
    0

Package Sidebar

Install

npm i @types/karma-html-detailed-reporter

Weekly Downloads

24

Version

2.1.4

License

MIT

Unpacked Size

7.57 kB

Total Files

5

Last publish

Collaborators

  • types