npm.io
0.2.4 • Published 2 years ago

@types/karma-brief-reporter

Licence
MIT
Version
0.2.4
Deps
1
Size
6 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

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

Summary

This package contains type definitions for karma-brief-reporter (https://github.com/prantlf/karma-brief-reporter).

Details

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

index.d.ts

import "karma";

declare module "karma" {
    interface ConfigOptions {
        /**
         * Reports test progress statistics and lists failures at the end of a Karma test run.
         * {@link https://github.com/prantlf/karma-brief-reporter#options}
         */
        briefReporter?: BriefReporterOptions | undefined;
    }

    interface BriefReporterOptions {
        /**
         * Suppress the error report at the end of the test run
         * @default false
         */
        suppressErrorReport?: boolean | undefined;
        /**
         * Print the test failures immediately instead of at the end
         * @default false
         */
        earlyErrorReport?: boolean | undefined;
        /**
         * Suppress the red background on errors in the error
         * report at the end of the test run.
         * @default false
         */
        suppressErrorHighlighting?: boolean | undefined;
        /**
         * Omits stack frames from external dependencies like qunit,
         * jasmine or chai, which appear in stack traces of failed
         * tests and which are usually irrelevant to the tested code
         * @default false
         */
        omitExternalStackFrames?: boolean | undefined;
        /**
         * Suppress the browser console log at the end of the test run
         * @default false
         */
        suppressBrowserLogs?: boolean | undefined;
        /**
         * Only render the graphic after all tests have finished.
         * This is ideal for using this reporter in a continuous integration environment
         * @default false
         */
        renderOnRunCompleteOnly?: boolean | undefined;
    }
}

Additional Details

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

Credits

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