UNPKG

1.06 kBTypeScriptView Raw
1/// <reference types="jasmine" />
2
3import karma = require("karma");
4
5declare module "karma" {
6 interface ClientOptions {
7 jasmine?:
8 | (jasmine.Configuration & {
9 /** @deprecated undocumented to be removed */
10 timeoutInterval?: number | undefined;
11 })
12 | undefined;
13 /**
14 * run a subset of the full set of specs.
15 * Complete sharding support needs to be done in the process that calls karma,
16 * and would need to support test result integration across shards.
17 * See {@link https://github.com/karma-runner/karma-jasmine#sharding}
18 */
19 shardIndex?: number | undefined;
20 /**
21 * run a subset of the full set of specs.
22 * Complete sharding support needs to be done in the process that calls karma,
23 * and would need to support test result integration across shards.
24 * See {@link https://github.com/karma-runner/karma-jasmine#sharding}
25 */
26 totalShards?: number | undefined;
27 }
28}