You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@types/sinon-test

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/sinon-test - npm Package Compare versions

Comparing version

to
2.4.3

8

sinon-test/index.d.ts

@@ -10,7 +10,7 @@ // Type definitions for sinon-test 2.4

interface Configuration {
injectIntoThis?: boolean;
injectIntoThis?: boolean | undefined;
injectInto?: any;
properties?: Array<"spy" | "stub" | "mock" | "clock" | "server" | "requests">;
useFakeTimers?: boolean;
useFakeServer?: boolean;
properties?: Array<"spy" | "stub" | "mock" | "clock" | "server" | "requests"> | undefined;
useFakeTimers?: boolean | undefined;
useFakeServer?: boolean | undefined;
}

@@ -17,0 +17,0 @@

{
"name": "@types/sinon-test",
"version": "2.4.2",
"version": "2.4.3",
"description": "TypeScript definitions for sinon-test",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sinon-test",
"license": "MIT",

@@ -24,4 +25,4 @@ "contributors": [

},
"typesPublisherContentHash": "edec8054cc44b443e80a8cee1086e339367505438192239a4bd184c314a01159",
"typeScriptVersion": "3.2"
"typesPublisherContentHash": "315b276e7529f661b15431dd419126c05c71ce36f5c868f233d03a621051df16",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,31 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sinon-test.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sinon-test/index.d.ts)
````ts
// Type definitions for sinon-test 2.4
// Project: https://github.com/sinonjs/sinon-test
// Definitions by: Francis Saul <https://github.com/mummybot>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
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: Fri, 25 Sep 2020 23:56:35 GMT
* Last updated: Tue, 06 Jul 2021 16:34:53 GMT
* Dependencies: [@types/sinon](https://npmjs.com/package/@types/sinon)

@@ -14,0 +40,0 @@ * Global values: none