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

0.0.6 • Public • Published

Installation

npm install --save @types/karma-spec-reporter

Summary

This package contains type definitions for karma-spec-reporter (https://github.com/mlex/karma-spec-reporter#readme).

Details

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

index.d.ts

import "karma";

declare module "karma" {
    interface ConfigOptions {
        /**
         * {@link https://github.com/mlex/karma-spec-reporter#configuration}
         */
        specReporter?: SpecReporterOptions | undefined;
    }

    interface SpecReporterOptions {
        /** limit number of lines logged per test */
        maxLogLines?: number | undefined;
        /** do not print error summary */
        suppressErrorSummary?: boolean | undefined;
        /** do not print information about failed tests */
        suppressFailed?: boolean | undefined;
        /** do not print information about passed tests */
        suppressPassed?: boolean | undefined;
        /** do not print information about skipped tests */
        suppressSkipped?: boolean | undefined;
        /** do not print summary  */
        suppressSummary?: boolean | undefined;
        /** print the time elapsed for each spec */
        showSpecTiming?: boolean | undefined;
        /** test would finish with error when a first fail occurs */
        failFast?: boolean | undefined;
        /** custom prefixes to use when reporting passed/failed/skipped prefixes */
        prefixes?:
            | {
                success?: string | undefined;
                failure?: string | undefined;
                skipped?: string | undefined;
            }
            | undefined;
    }
}

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/karma-spec-reporter

Weekly Downloads

3,663

Version

0.0.6

License

MIT

Unpacked Size

5.49 kB

Total Files

5

Last publish

Collaborators

  • types