1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.services = exports.makeStub = void 0;
|
4 | var noImpl = function (fnname) { return function () {
|
5 | throw new Error("No implementation for " + fnname + ". The framework specific code did not implement this method.");
|
6 | }; };
|
7 | exports.makeStub = function (service, methods) {
|
8 | return methods.reduce(function (acc, key) { return ((acc[key] = noImpl(service + "." + key + "()")), acc); }, {});
|
9 | };
|
10 | var services = {
|
11 | $q: undefined,
|
12 | $injector: undefined,
|
13 | };
|
14 | exports.services = services;
|
15 |
|
\ | No newline at end of file |