1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | import * as Sinon from 'sinon';
|
8 |
|
9 | interface Configuration {
|
10 | injectIntoThis?: boolean;
|
11 | injectInto?: any;
|
12 | properties?: Array<"spy"| "stub"| "mock"| "clock"| "server"| "requests">;
|
13 | useFakeTimers?: boolean;
|
14 | useFakeServer?: boolean;
|
15 | }
|
16 |
|
17 | interface sinonTest {
|
18 | configureTest(sinon: Sinon.SinonStatic, config?: Configuration): any;
|
19 | configureTestCase(sinon: Sinon.SinonStatic, config?: Configuration): any;
|
20 | }
|
21 |
|
22 | declare var sinonTest: sinonTest;
|
23 |
|
24 | export = sinonTest;
|