DefinitelyTyped/types/karma-jasmine/index.d.ts
Piotr Błażejewicz (Peter Blazejewicz) c72d2cfdd0
feat(karma-jasmine): update to version 3.1 (#41989)
- 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!
2020-02-06 10:13:49 -08:00

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;
}
}