1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const function_spy_1 = require("./function-spy");
|
4 | const expose_spy_functions_1 = require("./expose-spy-functions");
|
5 | function 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 | }
|
11 | exports.createFunctionSpy = createFunctionSpy;
|
12 |
|
\ | No newline at end of file |