2.4.6 • Published 2 years ago

@types/gulp-jasmine v2.4.6

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

Installation

npm install --save @types/gulp-jasmine

Summary

This package contains type definitions for gulp-jasmine (https://github.com/sindresorhus/gulp-jasmine#readme).

Details

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

index.d.ts

// Type definitions for gulp-jasmine 2.4
// Project: https://github.com/sindresorhus/gulp-jasmine#readme
// Definitions by: Andrey Lalev <https://github.com/andypyrope>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

/// <reference types="node" />
/// <reference types="jasmine" />

interface JasmineOptions {
    /**
     *  Display spec names in default reporter.
     */
    verbose?: boolean | undefined;

    /**
     * Include stack traces in failures in default reporter.
     * @default false
     */
    includeStackTrace?: boolean | undefined;

    /**
     * Reporter(s) to use.
     */
    reporter?: jasmine.CustomReporter | ReadonlyArray<jasmine.CustomReporter> | undefined;

    /**
     * Time to wait in milliseconds before a test automatically fails.
     * @default 5000
     */
    timeout?: number | undefined;

    /**
     * Stops the stream on failed tests.
     * @default true
     */
    errorOnFail?: boolean | undefined;

    /**
     * Passes the config to Jasmine's loadConfig method.
     */
    config?: object | undefined;
}

/**
 * Executes Jasmine tests. Emits a 'jasmineDone' event on success.
 * @param options Optional options for the execution of the Jasmine test
 */
declare function gulpJasmine(options?: JasmineOptions): NodeJS.ReadWriteStream;
export = gulpJasmine;

Additional Details

Credits

These definitions were written by Andrey Lalev.

2.4.5

2 years ago

2.4.4

2 years ago

2.4.6

2 years ago

2.4.3

4 years ago

2.4.2

7 years ago

2.4.1

7 years ago

2.4.0

8 years ago