@angular/platform-server
Version:
Angular - library for using Angular in Node.js
61 lines (56 loc) • 2.71 kB
JavaScript
/**
* @license Angular v5.0.0-rc.8
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser-dynamic/testing'), require('@angular/platform-browser/animations'), require('@angular/platform-server')) :
typeof define === 'function' && define.amd ? define('@angular/platform-server/testing', ['exports', '@angular/core', '@angular/platform-browser-dynamic/testing', '@angular/platform-browser/animations', '@angular/platform-server'], factory) :
(factory((global.ng = global.ng || {}, global.ng.platformServer = global.ng.platformServer || {}, global.ng.platformServer.testing = {}),global.ng.core,global.ng.platformBrowserDynamic.testing,global._angular_platformBrowser_animations,global.ng.platformServer));
}(this, (function (exports,_angular_core,_angular_platformBrowserDynamic_testing,_angular_platformBrowser_animations,_angular_platformServer) { 'use strict';
/**
* @license Angular v5.0.0-rc.8
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
/**
* @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 = _angular_core.createPlatformFactory(_angular_platformBrowserDynamic_testing.ɵplatformCoreDynamicTesting, 'serverTesting', _angular_platformServer.ɵINTERNAL_SERVER_PLATFORM_PROVIDERS);
/**
* NgModule for testing.
*
* \@experimental API related to bootstrapping are still under review.
*/
var ServerTestingModule = (function () {
function ServerTestingModule() {
}
ServerTestingModule.decorators = [
{ type: _angular_core.NgModule, args: [{
exports: [_angular_platformBrowserDynamic_testing.BrowserDynamicTestingModule],
imports: [_angular_platformBrowser_animations.NoopAnimationsModule],
providers: _angular_platformServer.ɵSERVER_RENDER_PROVIDERS
},] },
];
/** @nocollapse */
ServerTestingModule.ctorParameters = function () { return []; };
return ServerTestingModule;
}());
exports.platformServerTesting = platformServerTesting;
exports.ServerTestingModule = ServerTestingModule;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=platform-server-testing.umd.js.map