npm.io
1.1.4 • Published 2 years ago

@types/karma-material-reporter

Licence
MIT
Version
1.1.4
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

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

Summary

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

Details

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

index.d.ts

import "karma";

declare module "karma" {
    interface ConfigOptions {
        /**
         * Visualize karma test results in real time with material designed reporter
         * See {@link https://github.com/ameerthehacker/karma-material-reporter#availble-configurations}
         */
        materialReporter?: MaterialReporterOptions | undefined;
    }

    interface MaterialReporterOptions {
        /**
         * port in which the reporter startes a express server
         * @default 3000
         */
        serverPort?: number | undefined;
        /**
         * whether to open the reporter UI automatically in the default browser
         * @default true
         */
        autoOpen?: boolean | undefined;
        /**
         * expand all the expandable suite menus
         * @default true
         */
        expandSuites?: boolean | undefined;
    }
}

Additional Details

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

Credits

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