@@ -11,7 +11,7 @@ import {
1111 waitForAsync ,
1212} from '@angular/core/testing' ;
1313import { By } from '@angular/platform-browser' ;
14- import { BrowserAnimationsModule , NoopAnimationsModule } from '@angular/platform-browser/animations' ;
14+ import { NoopAnimationsModule } from '@angular/platform-browser/animations' ;
1515import { Observable } from 'rxjs' ;
1616import {
1717 MAT_TABS_CONFIG ,
@@ -1026,12 +1026,7 @@ describe('MatTabGroup', () => {
10261026describe ( 'nested MatTabGroup with enabled animations' , ( ) => {
10271027 beforeEach ( fakeAsync ( ( ) => {
10281028 TestBed . configureTestingModule ( {
1029- imports : [
1030- MatTabsModule ,
1031- BrowserAnimationsModule ,
1032- NestedTabs ,
1033- TabsWithCustomAnimationDuration ,
1034- ] ,
1029+ imports : [ MatTabsModule , NestedTabs , TabsWithCustomAnimationDuration ] ,
10351030 } ) ;
10361031 } ) ) ;
10371032
@@ -1066,7 +1061,7 @@ describe('MatTabGroup with ink bar fit to content', () => {
10661061
10671062 beforeEach ( fakeAsync ( ( ) => {
10681063 TestBed . configureTestingModule ( {
1069- imports : [ MatTabsModule , BrowserAnimationsModule , TabGroupWithInkBarFitToContent ] ,
1064+ imports : [ MatTabsModule , TabGroupWithInkBarFitToContent ] ,
10701065 } ) ;
10711066 } ) ) ;
10721067
@@ -1108,7 +1103,7 @@ describe('MatTabNavBar with a default config', () => {
11081103
11091104 beforeEach ( fakeAsync ( ( ) => {
11101105 TestBed . configureTestingModule ( {
1111- imports : [ MatTabsModule , BrowserAnimationsModule , SimpleTabsTestApp ] ,
1106+ imports : [ MatTabsModule , SimpleTabsTestApp ] ,
11121107 providers : [
11131108 {
11141109 provide : MAT_TABS_CONFIG ,
@@ -1139,7 +1134,7 @@ describe('MatTabNavBar with a default config', () => {
11391134describe ( 'MatTabGroup labels aligned with a config' , ( ) => {
11401135 it ( 'should work with start align' , ( ) => {
11411136 const fixture = TestBed . configureTestingModule ( {
1142- imports : [ MatTabsModule , BrowserAnimationsModule , TabsWithAlignConfig ] ,
1137+ imports : [ MatTabsModule , TabsWithAlignConfig ] ,
11431138 providers : [
11441139 {
11451140 provide : MAT_TABS_CONFIG ,
@@ -1155,7 +1150,7 @@ describe('MatTabGroup labels aligned with a config', () => {
11551150
11561151 it ( 'should work with center align' , ( ) => {
11571152 const fixture = TestBed . configureTestingModule ( {
1158- imports : [ MatTabsModule , BrowserAnimationsModule , TabsWithAlignConfig ] ,
1153+ imports : [ MatTabsModule , TabsWithAlignConfig ] ,
11591154 providers : [
11601155 {
11611156 provide : MAT_TABS_CONFIG ,
@@ -1171,7 +1166,7 @@ describe('MatTabGroup labels aligned with a config', () => {
11711166
11721167 it ( 'should work with end align' , ( ) => {
11731168 const fixture = TestBed . configureTestingModule ( {
1174- imports : [ MatTabsModule , BrowserAnimationsModule , TabsWithAlignConfig ] ,
1169+ imports : [ MatTabsModule , TabsWithAlignConfig ] ,
11751170 providers : [
11761171 {
11771172 provide : MAT_TABS_CONFIG ,
@@ -1187,7 +1182,7 @@ describe('MatTabGroup labels aligned with a config', () => {
11871182
11881183 it ( 'should not add align if default config doesnt set align' , ( ) => {
11891184 const fixture = TestBed . configureTestingModule ( {
1190- imports : [ MatTabsModule , BrowserAnimationsModule , TabsWithAlignConfig ] ,
1185+ imports : [ MatTabsModule , TabsWithAlignConfig ] ,
11911186 } ) . createComponent ( TabsWithAlignConfig ) ;
11921187 fixture . detectChanges ( ) ;
11931188
@@ -1206,7 +1201,7 @@ describe('MatTabGroup labels aligned with a config', () => {
12061201
12071202 it ( 'should not break if config sets align on already aligned tabs' , ( ) => {
12081203 const fixture = TestBed . configureTestingModule ( {
1209- imports : [ MatTabsModule , BrowserAnimationsModule , TabsWithAlignCenter ] ,
1204+ imports : [ MatTabsModule , TabsWithAlignCenter ] ,
12101205 providers : [ { provide : MAT_TABS_CONFIG , useValue : { alignTabs : 'end' } } ] ,
12111206 } ) . createComponent ( TabsWithAlignCenter ) ;
12121207 fixture . detectChanges ( ) ;
0 commit comments