diff --git a/modules/@angular/core/test/animation/animation_integration_next_spec.ts b/modules/@angular/core/test/animation/animation_integration_next_spec.ts index a743b85521..db89cf2d8b 100644 --- a/modules/@angular/core/test/animation/animation_integration_next_spec.ts +++ b/modules/@angular/core/test/animation/animation_integration_next_spec.ts @@ -8,7 +8,7 @@ import {AUTO_STYLE, AnimationEvent, animate, keyframes, state, style, transition, trigger} from '@angular/animations'; import {USE_VIEW_ENGINE} from '@angular/compiler/src/config'; import {Component, HostBinding, HostListener, ViewChild} from '@angular/core'; -import {AnimationDriver, BrowserAnimationModule, ɵAnimationEngine} from '@angular/platform-browser/animations'; +import {AnimationDriver, BrowserAnimationsModule, ɵAnimationEngine} from '@angular/platform-browser/animations'; import {MockAnimationDriver, MockAnimationPlayer} from '@angular/platform-browser/animations/testing'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {TestBed} from '../../testing'; @@ -44,7 +44,7 @@ function declareTests({useJit}: {useJit: boolean}) { resetLog(); TestBed.configureTestingModule({ providers: [{provide: AnimationDriver, useClass: MockAnimationDriver}], - imports: [BrowserAnimationModule] + imports: [BrowserAnimationsModule] }); }); diff --git a/modules/@angular/platform-browser/animations/src/animations.ts b/modules/@angular/platform-browser/animations/src/animations.ts index b34f9af435..1ed06372c0 100644 --- a/modules/@angular/platform-browser/animations/src/animations.ts +++ b/modules/@angular/platform-browser/animations/src/animations.ts @@ -11,7 +11,7 @@ * @description * Entry point for all animation APIs of the animation browser package. */ -export {BrowserAnimationModule} from './browser_animation_module'; -export {NoopBrowserAnimationModule} from './noop_browser_animation_module'; +export {BrowserAnimationsModule} from './browser_animations_module'; +export {NoopAnimationsModule} from './noop_animations_module'; export {AnimationDriver} from './render/animation_driver'; export * from './private_export'; diff --git a/modules/@angular/platform-browser/animations/src/browser_animation_module.ts b/modules/@angular/platform-browser/animations/src/browser_animations_module.ts similarity index 98% rename from modules/@angular/platform-browser/animations/src/browser_animation_module.ts rename to modules/@angular/platform-browser/animations/src/browser_animations_module.ts index 471a0a9b58..e82438fafe 100644 --- a/modules/@angular/platform-browser/animations/src/browser_animation_module.ts +++ b/modules/@angular/platform-browser/animations/src/browser_animations_module.ts @@ -54,5 +54,5 @@ export function instantiateRendererFactory( } ] }) -export class BrowserAnimationModule { +export class BrowserAnimationsModule { } diff --git a/modules/@angular/platform-browser/animations/src/noop_browser_animation_module.ts b/modules/@angular/platform-browser/animations/src/noop_animations_module.ts similarity index 96% rename from modules/@angular/platform-browser/animations/src/noop_browser_animation_module.ts rename to modules/@angular/platform-browser/animations/src/noop_animations_module.ts index cb6c648b7d..fd3f38fa51 100644 --- a/modules/@angular/platform-browser/animations/src/noop_browser_animation_module.ts +++ b/modules/@angular/platform-browser/animations/src/noop_animations_module.ts @@ -30,5 +30,5 @@ export function instantiateRendererFactory( } ] }) -export class NoopBrowserAnimationModule { +export class NoopAnimationsModule { } diff --git a/modules/@angular/platform-browser/animations/test/noop_browser_animation_module_spec.ts b/modules/@angular/platform-browser/animations/test/noop_animations_module_spec.ts similarity index 94% rename from modules/@angular/platform-browser/animations/test/noop_browser_animation_module_spec.ts rename to modules/@angular/platform-browser/animations/test/noop_animations_module_spec.ts index 1f6633de12..a083cca646 100644 --- a/modules/@angular/platform-browser/animations/test/noop_browser_animation_module_spec.ts +++ b/modules/@angular/platform-browser/animations/test/noop_animations_module_spec.ts @@ -10,13 +10,13 @@ import {USE_VIEW_ENGINE} from '@angular/compiler/src/config'; import {Component} from '@angular/core'; import {TestBed} from '@angular/core/testing'; import {ɵAnimationEngine} from '@angular/platform-browser/animations'; -import {NoopBrowserAnimationModule} from '../src/noop_browser_animation_module'; +import {NoopAnimationsModule} from '../src/noop_animations_module'; import {NoopAnimationEngine} from '../src/render/noop_animation_engine'; export function main() { - describe('NoopBrowserAnimationModule', () => { + describe('NoopAnimationsModule', () => { beforeEach(() => { - TestBed.configureTestingModule({imports: [NoopBrowserAnimationModule]}); + TestBed.configureTestingModule({imports: [NoopAnimationsModule]}); TestBed.configureCompiler({ useJit: true, providers: [{ diff --git a/modules/@angular/platform-browser/test/animation/animation_renderer_spec.ts b/modules/@angular/platform-browser/test/animation/animation_renderer_spec.ts index c5d3a1e1aa..96a2a5cc6d 100644 --- a/modules/@angular/platform-browser/test/animation/animation_renderer_spec.ts +++ b/modules/@angular/platform-browser/test/animation/animation_renderer_spec.ts @@ -9,9 +9,9 @@ import {AnimationTriggerMetadata, animate, state, style, transition, trigger} fr import {USE_VIEW_ENGINE} from '@angular/compiler/src/config'; import {AnimationPlayer, Component, Injectable, RendererFactoryV2, RendererTypeV2, ViewChild} from '@angular/core'; import {TestBed} from '@angular/core/testing'; -import {BrowserAnimationModule, ɵAnimationEngine, ɵAnimationRendererFactory} from '@angular/platform-browser/animations'; +import {BrowserAnimationsModule, ɵAnimationEngine, ɵAnimationRendererFactory} from '@angular/platform-browser/animations'; -import {InjectableAnimationEngine} from '../../animations/src/browser_animation_module'; +import {InjectableAnimationEngine} from '../../animations/src/browser_animations_module'; import {el} from '../../testing/browser_util'; export function main() { @@ -22,7 +22,7 @@ export function main() { TestBed.configureTestingModule({ providers: [{provide: ɵAnimationEngine, useClass: MockAnimationEngine}], - imports: [BrowserAnimationModule] + imports: [BrowserAnimationsModule] }); }); diff --git a/tools/public_api_guard/platform-browser/typings/animations/animations.d.ts b/tools/public_api_guard/platform-browser/typings/animations/animations.d.ts index fab14eefa3..786f09b601 100644 --- a/tools/public_api_guard/platform-browser/typings/animations/animations.d.ts +++ b/tools/public_api_guard/platform-browser/typings/animations/animations.d.ts @@ -7,9 +7,9 @@ export declare abstract class AnimationDriver { } /** @experimental */ -export declare class BrowserAnimationModule { +export declare class BrowserAnimationsModule { } /** @experimental */ -export declare class NoopBrowserAnimationModule { +export declare class NoopAnimationsModule { }