Installation
npm install --save @types/sinon-test
Summary
This package contains type definitions for sinon-test (https://github.com/sinonjs/sinon-test).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sinon-test.
import * as Sinon from "sinon";
interface Configuration {
injectIntoThis?: boolean | undefined;
injectInto?: any;
properties?: Array<"spy" | "stub" | "mock" | "clock" | "server" | "requests"> | undefined;
useFakeTimers?: boolean | undefined;
useFakeServer?: boolean | undefined;
}
declare function sinonTest(sinon: Sinon.SinonStatic, config?: Configuration): any;
declare namespace sinonTest {
function configureTest(sinon: Sinon.SinonStatic, config?: Configuration): any;
}
export = sinonTest;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/sinon
Credits
These definitions were written by Francis Saul.