UNPKG

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