0.0.6 • Published 6 months ago

@types/karma-spec-reporter v0.0.6

Weekly downloads
5,131
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for karma-spec-reporter 0.0
// Project: https://github.com/mlex/karma-spec-reporter#readme
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Sun, 20 Feb 2022 16:01:27 GMT
  • Dependencies: @types/karma
  • Global values: none

Credits

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

0.0.5

7 months ago

0.0.4

8 months ago

0.0.6

6 months ago

0.0.3

2 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

4 years ago