1 | // Type definitions for karma-sinon-chai 2.0
|
2 | // Project: https://github.com/kmees/karma-sinon-chai
|
3 | // Definitions by: Shenghao Lei <https://github.com/SevenOutman>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | /// <reference types="chai" />
|
7 | /// <reference types="sinon" />
|
8 | /// <reference types="sinon-chai" />
|
9 |
|
10 | import 'karma';
|
11 |
|
12 | declare module 'karma' {
|
13 | interface ClientOptions {
|
14 | /**
|
15 | * chai config
|
16 | */
|
17 | chai?: Partial<Chai.Config> | undefined;
|
18 | }
|
19 | }
|
20 |
|
21 | declare global {
|
22 | const should: Chai.Should;
|
23 | const expect: Chai.ExpectStatic;
|
24 | const assert: Chai.Assert;
|
25 | }
|