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';
8
8
import * as i1 from ' @angular/platform-browser-dynamic/testing' ;
9
9
import { StaticProvider } from ' @angular/core' ;
10
10
11
- // @public
11
+ // @public @deprecated
12
12
export const platformServerTesting: (extraProviders ? : StaticProvider []) => i0 .PlatformRef ;
13
13
14
- // @public
14
+ // @public @deprecated
15
15
export class ServerTestingModule {
16
16
// (undocumented)
17
17
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[] = [
23
23
* Platform for testing
24
24
*
25
25
* @publicApi
26 + * @deprecated from v20.0.0, use e2e testing to verify SSR behavior.
26
27
*/
27
28
export const platformServerTesting = createPlatformFactory (
28
29
platformCore ,
@@ -34,6 +35,7 @@ export const platformServerTesting = createPlatformFactory(
34
35
* NgModule for testing.
35
36
*
36
37
* @publicApi
38
+ * @deprecated from v20.0.0, use e2e testing to verify SSR behavior.
37
39
*/
38
40
@NgModule ( {
39
41
exports : [ BrowserDynamicTestingModule ] ,
You can’t perform that action at this time.
0 commit comments