2.4.6 • Published 6 months ago

@types/sinon-test v2.4.6

Weekly downloads
3,873
License
MIT
Repository
github
Last release
6 months ago

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.

index.d.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: Tue, 06 Jul 2021 16:34:53 GMT
  • Dependencies: @types/sinon
  • Global values: none

Credits

These definitions were written by Francis Saul.

2.4.6

6 months ago

2.4.5

7 months ago

2.4.4

8 months ago

2.4.3

3 years ago

2.4.2

4 years ago

2.4.1

4 years ago

2.4.0

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago