2.4.6 • Published 2 years ago
@types/gulp-jasmine v2.4.6
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
- Last updated: Thu, 08 Jul 2021 14:22:29 GMT
- Dependencies: @types/node, @types/jasmine
- Global values: none
Credits
These definitions were written by Andrey Lalev.