UNPKG

@angular/platform-server

Version:

Angular - library for using Angular in Node.js

94 lines (87 loc) 2.68 kB
/** * @license Angular v5.0.0-rc.8 * (c) 2010-2017 Google, Inc. https://angular.io/ * License: MIT */ import { NgModule, createPlatformFactory } from '@angular/core'; import { BrowserDynamicTestingModule, ɵplatformCoreDynamicTesting } from '@angular/platform-browser-dynamic/testing'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; import { ɵINTERNAL_SERVER_PLATFORM_PROVIDERS, ɵSERVER_RENDER_PROVIDERS } from '@angular/platform-server'; /** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Platform for testing * * \@experimental API related to bootstrapping are still under review. */ var platformServerTesting = createPlatformFactory(ɵplatformCoreDynamicTesting, 'serverTesting', ɵINTERNAL_SERVER_PLATFORM_PROVIDERS); /** * NgModule for testing. * * \@experimental API related to bootstrapping are still under review. */ var ServerTestingModule = (function () { function ServerTestingModule() { } ServerTestingModule.decorators = [ { type: NgModule, args: [{ exports: [BrowserDynamicTestingModule], imports: [NoopAnimationsModule], providers: ɵSERVER_RENDER_PROVIDERS },] }, ]; /** @nocollapse */ ServerTestingModule.ctorParameters = function () { return []; }; return ServerTestingModule; }()); /** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of the platform-browser-dynamic/testing package. */ /** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ // This file only reexports content of the `src` folder. Keep it that way. /** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ /** * Generated bundle index. Do not edit. */ export { platformServerTesting, ServerTestingModule }; //# sourceMappingURL=testing.js.map