UNPKG

@rws-air/utils

Version:
9 lines 547 B
/// <reference types="jest" /> /** * Checks if a Jest mocked function is called a certain amount of times with a certain amount of arguments * @param functionToBeCalled The function that has to be called * @param calledTimes The amount of times the function should be called * @param args Any arguments the function should be called with */ export declare function toBeCalled<A, B extends any[]>(functionToBeCalled: jest.Mock<A, B> | jest.SpyInstance<A, B>, calledTimes: number, ...args: any[]): void; //# sourceMappingURL=ToBeCalled.d.ts.map