npm.io
0.0.6 • Published 2 years ago

@types/mapbox__aws-sdk-jest

Licence
MIT
Version
0.0.6
Deps
2
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/mapbox__aws-sdk-jest

Summary

This package contains type definitions for @mapbox/aws-sdk-jest (https://github.com/mapbox/aws-sdk-jest#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__aws-sdk-jest.

index.d.ts

/// <reference types="node"/>
/// <reference types="jest" />

declare module "aws-sdk" {
    function spyOn(service: string, method: string): jest.Mock;
    function spyOnPromise(service: string, method: string, response?: unknown): jest.Mock;
    function spyOnEachPage(service: string, method: string, pages: Array<Record<string, unknown>>): jest.Mock;
    function clearAllMocks(): void;
}

Additional Details

Credits

These definitions were written by stevensnoeijen.