UNPKG

2.01 kBJavaScriptView Raw
1/**
2 * @license Angular v12.2.4
3 * (c) 2010-2021 Google LLC. https://angular.io/
4 * License: MIT
5 */
6
7import { createPlatformFactory, NgModule } from '@angular/core';
8import { ɵplatformCoreDynamicTesting, BrowserDynamicTestingModule } from '@angular/platform-browser-dynamic/testing';
9import { NoopAnimationsModule } from '@angular/platform-browser/animations';
10import { ɵINTERNAL_SERVER_PLATFORM_PROVIDERS, ɵSERVER_RENDER_PROVIDERS } from '@angular/platform-server';
11
12/**
13 * @license
14 * Copyright Google LLC All Rights Reserved.
15 *
16 * Use of this source code is governed by an MIT-style license that can be
17 * found in the LICENSE file at https://angular.io/license
18 */
19/**
20 * Platform for testing
21 *
22 * @publicApi
23 */
24const platformServerTesting = createPlatformFactory(ɵplatformCoreDynamicTesting, 'serverTesting', ɵINTERNAL_SERVER_PLATFORM_PROVIDERS);
25/**
26 * NgModule for testing.
27 *
28 * @publicApi
29 */
30class ServerTestingModule {
31}
32ServerTestingModule.decorators = [
33 { type: NgModule, args: [{
34 exports: [BrowserDynamicTestingModule],
35 imports: [NoopAnimationsModule],
36 providers: ɵSERVER_RENDER_PROVIDERS
37 },] }
38];
39
40/**
41 * @license
42 * Copyright Google LLC All Rights Reserved.
43 *
44 * Use of this source code is governed by an MIT-style license that can be
45 * found in the LICENSE file at https://angular.io/license
46 */
47
48/**
49 * @license
50 * Copyright Google LLC All Rights Reserved.
51 *
52 * Use of this source code is governed by an MIT-style license that can be
53 * found in the LICENSE file at https://angular.io/license
54 */
55// This file only reexports content of the `src` folder. Keep it that way.
56
57/**
58 * @license
59 * Copyright Google LLC All Rights Reserved.
60 *
61 * Use of this source code is governed by an MIT-style license that can be
62 * found in the LICENSE file at https://angular.io/license
63 */
64
65/**
66 * Generated bundle index. Do not edit.
67 */
68
69export { ServerTestingModule, platformServerTesting };
70//# sourceMappingURL=testing.js.map