Skip to content

Commit

Permalink
fixup! fix(common): add upgrade sub-package to ng_package rule for @a…
Browse files Browse the repository at this point in the history
…ngular/common
  • Loading branch information
brandonroberts committed Apr 25, 2019
1 parent dbdb0c1 commit ae87305
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/common/testing/src/mock_platform_location.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ export interface MockPlatformLocationConfig {
appBaseHref?: string;
}

/**
* Provider for mock platform location config
*
* @publicApi
*/
export const MOCK_PLATFORM_LOCATION_CONFIG = new InjectionToken('MOCK_PLATFORM_LOCATION_CONFIG');

/**
Expand Down
2 changes: 2 additions & 0 deletions tools/public_api_guard/common/testing.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export declare const MOCK_PLATFORM_LOCATION_CONFIG: InjectionToken<{}>;

export declare class MockLocationStrategy extends LocationStrategy {
internalBaseHref: string;
internalPath: string;
Expand Down

0 comments on commit ae87305

Please sign in to comment.