mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
test: fix a few more test leaks (#4508)
This commit is contained in:
committed by
Kara
parent
32c3ef4a69
commit
bc1c2ce5f8
@@ -601,6 +601,11 @@ describe('ConnectedPositionStrategy', () => {
|
||||
positionBuilder = new OverlayPositionBuilder(viewportRuler);
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
document.body.removeChild(originElement);
|
||||
document.body.removeChild(overlayContainerElement);
|
||||
});
|
||||
|
||||
describe('in ltr', () => {
|
||||
it('should use `left` when positioning an element at the start', () => {
|
||||
strategy = positionBuilder.connectedTo(
|
||||
|
||||
Reference in New Issue
Block a user