UNPKG

alsatian

Version:

TypeScript and JavaScript testing framework for beautiful and readable tests

10 lines 488 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function exposeSpyFunctions(spiedFunction, functionSpy) { spiedFunction.calls = functionSpy.calls; spiedFunction.callsWithArguments = functionSpy.callsWithArguments; spiedFunction.andReturn = functionSpy.andReturn.bind(functionSpy); spiedFunction.andCall = functionSpy.andCall.bind(functionSpy); } exports.exposeSpyFunctions = exposeSpyFunctions; //# sourceMappingURL=expose-spy-functions.js.map