mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
- version bump - rewrite definition to extend karma configuration with Jasmine specifc configuration properties support - tests updated - type definition configuration changes to match latest recommended setup for linting and TS details Thanks!
34 lines
1.3 KiB
TypeScript
34 lines
1.3 KiB
TypeScript
// Type definitions for karma-jasmine 3.1
|
|
// Project: https://github.com/karma-runner/karma-jasmine#readme
|
|
// Definitions by: Michel Salib <https://github.com/michelsalib>
|
|
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 3.2
|
|
/// <reference types="jasmine" />
|
|
|
|
import karma = require('karma');
|
|
|
|
declare module 'karma' {
|
|
interface ClientOptions {
|
|
jasmine?: jasmine.EnvConfiguration & {
|
|
/** @deprecated undocumented to be removed */
|
|
timeoutInterval?: number;
|
|
};
|
|
/**
|
|
* 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;
|
|
/**
|
|
* 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;
|
|
}
|
|
}
|