@types/karma-sinon-chai
TypeScript icon, indicating that this package has built-in type declarations

2.0.6 • Public • Published

Installation

npm install --save @types/karma-sinon-chai

Summary

This package contains type definitions for karma-sinon-chai (https://github.com/kmees/karma-sinon-chai).

Details

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

/// <reference types="chai" />
/// <reference types="sinon" />
/// <reference types="sinon-chai" />

import "karma";

declare module "karma" {
    interface ClientOptions {
        /**
         * chai config
         */
        chai?: Partial<Chai.Config> | undefined;
    }
}

declare global {
    const should: Chai.Should;
    const expect: Chai.ExpectStatic;
    const assert: Chai.Assert;
}

Additional Details

Credits

These definitions were written by Shenghao Lei.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/karma-sinon-chai

Weekly Downloads

2,299

Version

2.0.6

License

MIT

Unpacked Size

3.75 kB

Total Files

5

Last publish

Collaborators

  • types