1.3.4 • Published 6 months ago

@types/karma-mocha v1.3.4

Weekly downloads
12,174
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/karma-mocha

Summary

This package contains type definitions for karma-mocha (https://github.com/karma-runner/karma-mocha#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-mocha.

index.d.ts

// Type definitions for karma-mocha 1.3
// Project: https://github.com/karma-runner/karma-mocha#readme
// Definitions by: Piotr Błażejewicz (Peter Blazejewicz) <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.2

import 'karma';

declare module 'karma' {
    interface ClientOptions {
        mocha?: MochaClientOptions | undefined;
    }

    interface MochaClientOptions {
        /** This will be exposed in a reporter as `result.mocha.{exportedValue}` */
        export?: string[] | undefined;
        /** You can set opts to equal true then plugin will load opts from default location 'test/mocha.opts' */
        opts?: true | string | undefined;
        /** any supported Mocha configuration options */
        [key: string]: any;
    }
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 16:23:08 GMT
  • Dependencies: @types/karma
  • Global values: none

Credits

These definitions were written by Piotr Błażejewicz (Peter Blazejewicz).

1.3.4

6 months ago

1.3.3

7 months ago

1.3.2

8 months ago

1.3.1

3 years ago

1.3.0

4 years ago