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).