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
- Last updated: Tue, 07 Nov 2023 0939 GMT
- Dependencies: @types/jest, @types/node
Credits
These definitions were written by stevensnoeijen.