Noctiflorous Pansy Mulch

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

    2.4.3 • Public • Published

    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.

    Keywords

    none

    Install

    npm i @types/gulp-jasmine

    DownloadsWeekly Downloads

    262

    Version

    2.4.3

    License

    MIT

    Unpacked Size

    5.49 kB

    Total Files

    4

    Last publish

    Collaborators

    • types