Skip to content

Commit 65401a3

Browse files
authored
chore: snackbar tests should clean up afterwards (#1609)
1 parent 2ebb46f commit 65401a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/snack-bar/snack-bar.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ describe('MdSnackBar', () => {
4545
snackBar = sb;
4646
}));
4747

48+
afterEach(() => {
49+
overlayContainerElement.innerHTML = '';
50+
});
51+
4852
beforeEach(() => {
4953
viewContainerFixture = TestBed.createComponent(ComponentWithChildViewContainer);
5054

0 commit comments

Comments
 (0)