UNPKG

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