UNPKG

541 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const function_spy_1 = require("./function-spy");
4const expose_spy_functions_1 = require("./expose-spy-functions");
5function createFunctionSpy() {
6 const functionSpy = new function_spy_1.FunctionSpy();
7 const spiedFunction = functionSpy.call.bind(functionSpy);
8 expose_spy_functions_1.exposeSpyFunctions(spiedFunction, functionSpy);
9 return spiedFunction;
10}
11exports.createFunctionSpy = createFunctionSpy;
12//# sourceMappingURL=create-function-spy.js.map
\No newline at end of file