2.0.5 • Published 6 months ago

@types/karma-sinon-chai v2.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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.

index.d.ts

// Type definitions for karma-sinon-chai 2.0
// Project: https://github.com/kmees/karma-sinon-chai
// Definitions by: Shenghao Lei <https://github.com/SevenOutman>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <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.