chore: snackbar tests should clean up afterwards (#1609)

This commit is contained in:
Jeremy Elbourn
2016-10-26 10:36:24 -07:00
committed by GitHub
parent 2ebb46f4de
commit 65401a3a59
+4
View File
@@ -45,6 +45,10 @@ describe('MdSnackBar', () => {
snackBar = sb;
}));
afterEach(() => {
overlayContainerElement.innerHTML = '';
});
beforeEach(() => {
viewContainerFixture = TestBed.createComponent(ComponentWithChildViewContainer);