Files
DefinitelyTyped/types/sinon-test/index.d.ts
Andy dae4a527d7 Fix "../tslint.json" to "dtslint.json" (#15957)
* Fix "../tslint.json" to "dtslint.json"

* Fix errors
2017-04-18 10:35:52 -07:00

24 lines
701 B
TypeScript

// Type definitions for sinon-test 1.0
// Project: https://github.com/sinonjs/sinon-test
// Definitions by: Francis Saul <https://github.com/mummybot>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import * as Sinon from 'sinon';
interface Configuration {
injectIntoThis?: boolean;
injectInto?: any;
properties?: Array<"spy"| "stub"| "mock"| "clock"| "server"| "requests">;
useFakeTimers?: boolean;
useFakeServer?: boolean;
}
interface sinonTest {
configureTest(sinon: Sinon.SinonStatic, config?: Configuration): any;
configureTestCase(sinon: Sinon.SinonStatic, config?: Configuration): any;
}
declare var sinonTest: sinonTest;
export = sinonTest;