mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: snackbar tests should clean up afterwards (#1609)
This commit is contained in:
@@ -45,6 +45,10 @@ describe('MdSnackBar', () => {
|
||||
snackBar = sb;
|
||||
}));
|
||||
|
||||
afterEach(() => {
|
||||
overlayContainerElement.innerHTML = '';
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
viewContainerFixture = TestBed.createComponent(ComponentWithChildViewContainer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user