npm.io
1.3.4 • Published 2 years ago

@types/karma-mocha

Licence
MIT
Version
1.3.4
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.3K

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

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: Tue, 07 Nov 2023 0938 GMT
  • Dependencies: @types/karma

Credits

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