File tree Expand file tree Collapse file tree 4 files changed +3
-11
lines changed
tools/public_api_guard/platform-browser-dynamic Expand file tree Collapse file tree 4 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,6 @@ export const platformBrowserDynamicTesting = createPlatformFactory(
2525 platformCoreDynamicTesting , 'browserDynamicTesting' ,
2626 INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS ) ;
2727
28- /**
29- * @deprecated Use {@link platformBrowserDynamicTesting} instead
30- */
31- export const browserDynamicTestingPlatform = platformBrowserDynamicTesting ;
32-
3328/**
3429 * NgModule for testing.
3530 *
@@ -46,7 +41,7 @@ export class BrowserDynamicTestingModule {
4641}
4742
4843/**
49- * @deprecated Use initTestEnvironment with browserDynamicTestingPlatform instead.
44+ * @deprecated Use initTestEnvironment with platformBrowserDynamicTesting instead.
5045 */
5146export const TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS : Array < any /*Type | Provider | any[]*/ > =
5247 // Note: This is not a real provider but a hack to still support the deprecated
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ Promise.all([
7474
7575 testing . initTestEnvironment (
7676 testingBrowser . BrowserDynamicTestingModule ,
77- testingBrowser . browserDynamicTestingPlatform ( ) ) ;
77+ testingBrowser . platformBrowserDynamicTesting ( ) ) ;
7878
7979} ) . then ( function ( ) {
8080 // Finally, load all spec files.
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ System.import('@angular/core/testing')
7777 . then ( function ( browserTesting ) {
7878 coreTesting . initTestEnvironment (
7979 browserTesting . BrowserDynamicTestingModule ,
80- browserTesting . browserDynamicTestingPlatform ( ) ) ;
80+ browserTesting . platformBrowserDynamicTesting ( ) ) ;
8181 } ) ;
8282 } )
8383. then ( function ( ) {
Original file line number Diff line number Diff line change 22export declare class BrowserDynamicTestingModule {
33}
44
5- /** @deprecated */
6- export declare const browserDynamicTestingPlatform : ( extraProviders ?: any [ ] ) => PlatformRef ;
7-
85/** @experimental */
96export declare const platformBrowserDynamicTesting : ( extraProviders ?: any [ ] ) => PlatformRef ;
107
You can’t perform that action at this time.
0 commit comments