UNPKG

@relaycorp/webcrypto-kms

Version:

WebCrypto-compatible client for Key Management Services like GCP KMS

6 lines (5 loc) 408 B
/// <reference types="jest" /> export declare function mockSpy<T, Y extends any[]>(spy: jest.MockInstance<T, Y>, mockImplementation?: (...args: any[]) => any): jest.MockInstance<T, Y>; export declare function getMockInstance(mockedObject: any): jest.MockInstance<any, any>; export declare function getMockContext(mockedObject: any): jest.MockContext<any, any>; export declare function useFakeTimers(): void;