UNPKG

@types/karma-jasmine

Version:
48 lines (40 loc) 1.87 kB
# Installation > `npm install --save @types/karma-jasmine` # Summary This package contains type definitions for karma-jasmine (https://github.com/karma-runner/karma-jasmine#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-jasmine. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-jasmine/index.d.ts) ````ts /// <reference types="jasmine" /> import karma = require("karma"); declare module "karma" { interface ClientOptions { jasmine?: | (jasmine.Configuration & { /** @deprecated undocumented to be removed */ timeoutInterval?: number | undefined; }) | undefined; /** * run a subset of the full set of specs. * Complete sharding support needs to be done in the process that calls karma, * and would need to support test result integration across shards. * See {@link https://github.com/karma-runner/karma-jasmine#sharding} */ shardIndex?: number | undefined; /** * run a subset of the full set of specs. * Complete sharding support needs to be done in the process that calls karma, * and would need to support test result integration across shards. * See {@link https://github.com/karma-runner/karma-jasmine#sharding} */ totalShards?: number | undefined; } } ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 09:09:38 GMT * Dependencies: [@types/jasmine](https://npmjs.com/package/@types/jasmine), [@types/karma](https://npmjs.com/package/@types/karma) # Credits These definitions were written by [Michel Salib](https://github.com/michelsalib), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).