0.2.4 • Published 2 years ago

@types/karma-nyan-reporter v0.2.4

Weekly downloads
87
License
MIT
Repository
github
Last release
2 years ago

Installation

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

Summary

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

Details

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

index.d.ts

// Type definitions for karma-nyan-reporter 0.2
// Project: https://github.com/dgarlitt/karma-nyan-reporter#readme
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.2
import 'karma';

declare module 'karma' {
    interface ConfigOptions {
        /**
         * If you want to suppress the stack trace at the end of the test run you can use the suppressErrorReport option.
         * {@link https://github.com/dgarlitt/karma-nyan-reporter#options}
         */
        nyanReporter?: NyanCatOptions | undefined;
    }

    interface NyanCatOptions {
        /**
         * suppress the error report at the end of the test run
         * @default false
         */
        suppressErrorReport?: boolean | undefined;
        /**
         * Suppress the red background on errors in the error
         * report at the end of the test run.
         * @default false
         */
        suppressErrorHighlighting?: boolean | undefined;
        /**
         * increase the number of rainbow lines displayed
         * enforced min = 4, enforced max = terminal height - 1
         * @default 4
         */
        numberOfRainbowLines?: number | 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: Thu, 08 Jul 2021 16:23:08 GMT
  • Dependencies: @types/karma
  • Global values: none

Credits

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

0.2.3

2 years ago

0.2.2

2 years ago

0.2.4

2 years ago

0.2.1

4 years ago

0.2.0

5 years ago