@@ -16,7 +16,6 @@ import {
1616 MAT_SNACK_BAR_DATA ,
1717 MatSnackBar ,
1818 MatSnackBarConfig ,
19- MatSnackBarModule ,
2019 MatSnackBarRef ,
2120 SimpleSnackBar ,
2221} from './index' ;
@@ -39,12 +38,6 @@ describe('MatSnackBar', () => {
3938
4039 beforeEach ( fakeAsync ( ( ) => {
4140 TestBed . configureTestingModule ( {
42- imports : [
43- MatSnackBarModule ,
44- ComponentWithChildViewContainer ,
45- BurritosNotification ,
46- DirectiveWithViewContainer ,
47- ] ,
4841 providers : [ { provide : MATERIAL_ANIMATIONS , useValue : { animationsDisabled : true } } ] ,
4942 } ) ;
5043
@@ -671,10 +664,6 @@ describe('MatSnackBar with parent MatSnackBar', () => {
671664 let fixture : ComponentFixture < ComponentThatProvidesMatSnackBar > ;
672665
673666 beforeEach ( fakeAsync ( ( ) => {
674- TestBed . configureTestingModule ( {
675- imports : [ MatSnackBarModule , ComponentThatProvidesMatSnackBar , DirectiveWithViewContainer ] ,
676- } ) ;
677-
678667 parentSnackBar = TestBed . inject ( MatSnackBar ) ;
679668 overlayContainerElement = TestBed . inject ( OverlayContainer ) . getContainerElement ( ) ;
680669 fixture = TestBed . createComponent ( ComponentThatProvidesMatSnackBar ) ;
@@ -741,10 +730,6 @@ describe('MatSnackBar Positioning', () => {
741730 let simpleActionLabel = 'pickup' ;
742731
743732 beforeEach ( fakeAsync ( ( ) => {
744- TestBed . configureTestingModule ( {
745- imports : [ MatSnackBarModule , ComponentWithChildViewContainer , DirectiveWithViewContainer ] ,
746- } ) ;
747-
748733 snackBar = TestBed . inject ( MatSnackBar ) ;
749734 overlayContainerEl = TestBed . inject ( OverlayContainer ) . getContainerElement ( ) ;
750735 viewContainerFixture = TestBed . createComponent ( ComponentWithChildViewContainer ) ;
0 commit comments