1 | # Installation
|
2 | > `npm install --save @types/karma-jasmine`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for karma-jasmine (https://github.com/karma-runner/karma-jasmine#readme).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-jasmine.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-jasmine/index.d.ts)
|
10 | ````ts
|
11 | /// <reference types="jasmine" />
|
12 |
|
13 | import karma = require("karma");
|
14 |
|
15 | declare module "karma" {
|
16 | interface ClientOptions {
|
17 | jasmine?:
|
18 | | (jasmine.Configuration & {
|
19 | /** @deprecated undocumented to be removed */
|
20 | timeoutInterval?: number | undefined;
|
21 | })
|
22 | | undefined;
|
23 | /**
|
24 | * run a subset of the full set of specs.
|
25 | * Complete sharding support needs to be done in the process that calls karma,
|
26 | * and would need to support test result integration across shards.
|
27 | * See {@link https://github.com/karma-runner/karma-jasmine#sharding}
|
28 | */
|
29 | shardIndex?: number | undefined;
|
30 | /**
|
31 | * run a subset of the full set of specs.
|
32 | * Complete sharding support needs to be done in the process that calls karma,
|
33 | * and would need to support test result integration across shards.
|
34 | * See {@link https://github.com/karma-runner/karma-jasmine#sharding}
|
35 | */
|
36 | totalShards?: number | undefined;
|
37 | }
|
38 | }
|
39 |
|
40 | ````
|
41 |
|
42 | ### Additional Details
|
43 | * Last updated: Tue, 07 Nov 2023 09:09:38 GMT
|
44 | * Dependencies: [@types/jasmine](https://npmjs.com/package/@types/jasmine), [@types/karma](https://npmjs.com/package/@types/karma)
|
45 |
|
46 | # Credits
|
47 | These definitions were written by [Michel Salib](https://github.com/michelsalib), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).
|
48 |
|
\ | No newline at end of file |