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

0.2.4 • Public • Published

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

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: 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-nyan-reporter

Weekly Downloads

31

Version

0.2.4

License

MIT

Unpacked Size

5.25 kB

Total Files

5

Last publish

Collaborators

  • types