Nascent Plasticine Materialist

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

    2.0.1 • Public • Published

    Installation

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

    Summary

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

    Details

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

    index.d.ts

    // Type definitions for karma-junit-reporter 2.0
    // Project: https://github.com/karma-runner/karma-junit-reporter#readme
    // Definitions by: Piotr Błażejewicz (Peter Blazejewicz) <https://github.com/peterblazejewicz>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    // TypeScript Version: 3.2
    
    import 'karma';
    
    declare module 'karma' {
        interface ConfigOptions {
            junitReporter?: JUnitReporterConfiguration | undefined;
        }
    
        interface JUnitReporterConfiguration {
            /** results will be saved as $outputDir/$browserName.xml */
            outputDir?: string | undefined;
            /** if included, results will be saved as $outputDir/$browserName/$outputFile */
            outputFile?: string | undefined;
            /** suite will become the package name attribute in xml testsuite element */
            suite?: string | undefined;
            /** add browser name to report and classes names */
            useBrowserName?: boolean | undefined;
            /** function (browser, result) to customize the name attribute in xml testcase element */
            nameFormatter?: ((browser: any, result: any) => string) | undefined;
            /** function (browser, result) to customize the classname attribute in xml testcase element */
            classNameFormatter?: ((browser: any, result: any) => string) | undefined;
            /** key value pair of properties to add to the <properties> section of the report */
            properties?: {
                [key: string]: any;
            } | undefined;
            /** use '1' if reporting to be per SonarQube 6.2 XML format */
            xmlVersion?: number | null | undefined;
        }
    }

    Additional Details

    • Last updated: Thu, 08 Jul 2021 16:23:07 GMT
    • Dependencies: @types/karma
    • Global values: none

    Credits

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

    Keywords

    none

    Install

    npm i @types/karma-junit-reporter

    DownloadsWeekly Downloads

    6,662

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    6.07 kB

    Total Files

    4

    Last publish

    Collaborators

    • types