1 | # Installation
|
2 | > `npm install --save @types/karma-sinon-chai`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for karma-sinon-chai (https://github.com/kmees/karma-sinon-chai).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-sinon-chai.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-sinon-chai/index.d.ts)
|
10 | ````ts
|
11 | // Type definitions for karma-sinon-chai 2.0
|
12 | // Project: https://github.com/kmees/karma-sinon-chai
|
13 | // Definitions by: Shenghao Lei <https://github.com/SevenOutman>
|
14 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
15 |
|
16 | /// <reference types="chai" />
|
17 | /// <reference types="sinon" />
|
18 | /// <reference types="sinon-chai" />
|
19 |
|
20 | import 'karma';
|
21 |
|
22 | declare module 'karma' {
|
23 | interface ClientOptions {
|
24 | /**
|
25 | * chai config
|
26 | */
|
27 | chai?: Partial<Chai.Config> | undefined;
|
28 | }
|
29 | }
|
30 |
|
31 | declare global {
|
32 | const should: Chai.Should;
|
33 | const expect: Chai.ExpectStatic;
|
34 | const assert: Chai.Assert;
|
35 | }
|
36 |
|
37 | ````
|
38 |
|
39 | ### Additional Details
|
40 | * Last updated: Tue, 08 Feb 2022 09:31:33 GMT
|
41 | * Dependencies: [@types/karma](https://npmjs.com/package/@types/karma), [@types/chai](https://npmjs.com/package/@types/chai), [@types/sinon](https://npmjs.com/package/@types/sinon), [@types/sinon-chai](https://npmjs.com/package/@types/sinon-chai)
|
42 | * Global values: none
|
43 |
|
44 | # Credits
|
45 | These definitions were written by [Shenghao Lei](https://github.com/SevenOutman).
|
46 |
|
\ | No newline at end of file |