UNPKG

2.81 kBJavaScriptView Raw
1/**
2 * @license Angular v10.0.8
3 * (c) 2010-2020 Google LLC. https://angular.io/
4 * License: MIT
5 */
6!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/core/testing")):"function"==typeof define&&define.amd?define("@angular/upgrade/static/testing",["exports","@angular/core","@angular/core/testing"],t):t(((e=e||self).ng=e.ng||{},e.ng.upgrade=e.ng.upgrade||{},e.ng.upgrade.static=e.ng.upgrade.static||{},e.ng.upgrade.static.testing={}),e.ng.core,e.ng.core.testing)}(this,(function(e,t,n){"use strict";
7/**
8 * @license
9 * Copyright Google LLC All Rights Reserved.
10 *
11 * Use of this source code is governed by an MIT-style license that can be
12 * found in the LICENSE file at https://angular.io/license
13 */function r(){throw new Error("AngularJS v1.x is not loaded!")}var a=function(){return r()};a.cleanData=r;var o={bootstrap:r,module:r,element:a,injector:r,version:void 0,resumeBootstrap:r,getTestability:r};try{window.hasOwnProperty("angular")&&(o=window.angular)}catch(e){}var u,g,i=function(e,t){return o.module(e,t)},c=null;(g=function g(e){u=e}).decorators=[{type:t.NgModule,args:[{providers:[{provide:"$injector",useFactory:function s(){return c}}]}]}],g.ctorParameters=function(){return[{type:t.Injector}]},
14/**
15 * @license
16 * Copyright Google LLC All Rights Reserved.
17 *
18 * Use of this source code is governed by an MIT-style license that can be
19 * found in the LICENSE file at https://angular.io/license
20 */
21/**
22 * @license
23 * Copyright Google LLC All Rights Reserved.
24 *
25 * Use of this source code is governed by an MIT-style license that can be
26 * found in the LICENSE file at https://angular.io/license
27 */
28e.createAngularJSTestingModule=
29/**
30 * @license
31 * Copyright Google LLC All Rights Reserved.
32 *
33 * Use of this source code is governed by an MIT-style license that can be
34 * found in the LICENSE file at https://angular.io/license
35 */
36function d(e){return i("$$angularJSTestingModule",[]).constant("$$angularUpgradeAppType",2).factory("$$angularInjector",["$injector",function(r){return n.TestBed.configureTestingModule({imports:e,providers:[{provide:"$injector",useValue:r}]}),n.TestBed.inject(t.Injector)}]).name},e.createAngularTestingModule=function l(e,t){return i("$$angularJSTestingModule",e).constant("$$angularUpgradeAppType",2).factory("$$angularInjector",(function(){return u})),c=function(e,t){return o.injector(["ng","$$angularJSTestingModule"],t)}(0,t),g},e.ɵangular_packages_upgrade_static_testing_testing_a=i,e.ɵangular_packages_upgrade_static_testing_testing_b="$$angularUpgradeAppType",e.ɵangular_packages_upgrade_static_testing_testing_d="$$angularInjector",Object.defineProperty(e,"__esModule",{value:!0})}));
\No newline at end of file