npm install --save @types/karma-sinon-chai
This package contains type definitions for karma-sinon-chai (https://github.com/kmees/karma-sinon-chai).
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;
}
- Last updated: Tue, 24 Sep 2024 19:07:24 GMT
- Dependencies: @types/chai, @types/karma, @types/sinon, @types/sinon-chai
These definitions were written by Shenghao Lei.