@types/jasmine-reporters
TypeScript icon, indicating that this package has built-in type declarations

2.5.3 • Public • Published

Installation

npm install --save @types/jasmine-reporters

Summary

This package contains type definitions for jasmine-reporters (https://github.com/larrymyers/jasmine-reporters).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jasmine-reporters.

index.d.ts

import jasmine = require("jasmine");

// tslint:disable-next-line:no-unnecessary-class
export class AppVeyorReporter implements jasmine.CustomReporter {
    constructor(options?: AppVeyorReporter.ConstructorOptions);
}

export namespace AppVeyorReporter {
    interface ConstructorOptions {
        batchSize?: number;
        color?: boolean;
        verbosity?: 0 | 1 | 2;
    }
}

// tslint:disable-next-line:no-unnecessary-class
export class JUnitXmlReporter implements jasmine.CustomReporter {
    constructor(options?: JUnitXmlReporter.ConstructorOptions);
}

export namespace JUnitXmlReporter {
    interface ConstructorOptions {
        captureStdout?: boolean;
        consolidate?: boolean;
        consolidateAll?: boolean;
        filePrefix?: string;
        modifyReportFileName?: (reportFileName: string, suite: jasmine.SuiteResult) => string;
        modifySuiteName?: (suiteName: string, suite: jasmine.SuiteResult) => string;
        package?: boolean | string | string[];
        savePath?: string;
        stylesheetPath?: boolean | string;
        suppressDisabled?: boolean;
        systemOut?: (spec: jasmine.SpecResult, suiteName: string) => string;
        useDotNotation?: boolean;
        useFullTestName?: boolean;
    }
}

// tslint:disable-next-line:no-unnecessary-class
export class NUnitXmlReporter implements jasmine.CustomReporter {
    constructor(options?: NUnitXmlReporter.ConstructorOptions);
}

export namespace NUnitXmlReporter {
    interface ConstructorOptions {
        filename?: string;
        reportName?: string;
        savePath?: string;
    }
}

export class TapReporter implements jasmine.CustomReporter {}

// tslint:disable-next-line:no-unnecessary-class
export class TeamCityReporter implements jasmine.CustomReporter {
    constructor(options?: TeamCityReporter.ConstructorOptions);
}

export namespace TeamCityReporter {
    interface ConstructorOptions {
        modifySuiteName?: (suiteName: string, suite: jasmine.SuiteResult) => string;
    }
}

// tslint:disable-next-line:no-unnecessary-class
export class TerminalReporter implements jasmine.CustomReporter {
    constructor(options?: TerminalReporter.ConstructorOptions);
}

export namespace TerminalReporter {
    interface ConstructorOptions {
        color?: boolean;
        showStack?: boolean;
        verbosity?: 0 | 1 | 2 | 3;
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/jasmine

Credits

These definitions were written by Adam Kwiatek.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jasmine-reporters

Weekly Downloads

4,285

Version

2.5.3

License

MIT

Unpacked Size

7.41 kB

Total Files

5

Last publish

Collaborators

  • types