@angular/platform-server
Version:
Angular - library for using Angular in Node.js
59 lines (55 loc) • 1.77 kB
JavaScript
/**
* @license Angular v21.0.3
* (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT
*/
import * as i0 from '@angular/core';
import { createPlatformFactory, platformCore, NgModule } from '@angular/core';
import { BrowserDynamicTestingModule } from '@angular/platform-browser-dynamic/testing';
import { SERVER_RENDER_PROVIDERS, INTERNAL_SERVER_PLATFORM_PROVIDERS } from './_server-chunk.mjs';
import '@angular/common';
import '@angular/platform-browser';
import '@angular/common/http';
import 'rxjs';
const INTERNAL_SERVER_DYNAMIC_PLATFORM_TESTING_PROVIDERS = [...INTERNAL_SERVER_PLATFORM_PROVIDERS];
const platformServerTesting = createPlatformFactory(platformCore, 'serverTesting', INTERNAL_SERVER_DYNAMIC_PLATFORM_TESTING_PROVIDERS);
class ServerTestingModule {
static ɵfac = i0.ɵɵngDeclareFactory({
minVersion: "12.0.0",
version: "21.0.3",
ngImport: i0,
type: ServerTestingModule,
deps: [],
target: i0.ɵɵFactoryTarget.NgModule
});
static ɵmod = i0.ɵɵngDeclareNgModule({
minVersion: "14.0.0",
version: "21.0.3",
ngImport: i0,
type: ServerTestingModule,
exports: [BrowserDynamicTestingModule]
});
static ɵinj = i0.ɵɵngDeclareInjector({
minVersion: "12.0.0",
version: "21.0.3",
ngImport: i0,
type: ServerTestingModule,
providers: SERVER_RENDER_PROVIDERS,
imports: [BrowserDynamicTestingModule]
});
}
i0.ɵɵngDeclareClassMetadata({
minVersion: "12.0.0",
version: "21.0.3",
ngImport: i0,
type: ServerTestingModule,
decorators: [{
type: NgModule,
args: [{
exports: [BrowserDynamicTestingModule],
providers: SERVER_RENDER_PROVIDERS
}]
}]
});
export { ServerTestingModule, platformServerTesting };
//# sourceMappingURL=testing.mjs.map