File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
goldens/public-api/platform-server/testing
packages/platform-server/testing Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ import * as i0 from '@angular/core';
88import * as i1 from ' @angular/platform-browser-dynamic/testing' ;
99import { StaticProvider } from ' @angular/core' ;
1010
11- // @public
11+ // @public @deprecated
1212export const platformServerTesting: (extraProviders ? : StaticProvider []) => i0 .PlatformRef ;
1313
14- // @public
14+ // @public @deprecated
1515export class ServerTestingModule {
1616 // (undocumented)
1717 static ɵfac: i0 .ɵɵFactoryDeclaration <ServerTestingModule , never >;
Original file line number Diff line number Diff line change 1- Supplies a testing module for the Angular platform server subsystem.
1+ Supplies a testing module for the Angular platform server subsystem.
2+ This secondary entry point is deprecated. Use e2e tests to verify SSR
3+ behavior instead of ` TestBed ` .
4+
5+ See [ Angular deprecation policy] ( reference/releases#deprecation-policy ) .
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const INTERNAL_SERVER_DYNAMIC_PLATFORM_TESTING_PROVIDERS: StaticProvider[] = [
2323 * Platform for testing
2424 *
2525 * @publicApi
26+ * @deprecated from v20.0.0, use e2e testing to verify SSR behavior.
2627 */
2728export const platformServerTesting = createPlatformFactory (
2829 platformCore ,
@@ -34,6 +35,7 @@ export const platformServerTesting = createPlatformFactory(
3435 * NgModule for testing.
3536 *
3637 * @publicApi
38+ * @deprecated from v20.0.0, use e2e testing to verify SSR behavior.
3739 */
3840@NgModule ( {
3941 exports : [ BrowserDynamicTestingModule ] ,
You can’t perform that action at this time.
0 commit comments