From cd9516e05b1481e6c0561231acc5b2741de2bb8f Mon Sep 17 00:00:00 2001 From: "max.kless@googlemail.com" Date: Mon, 26 Jul 2021 12:16:11 +0200 Subject: [PATCH] test: remove unnecessary fakeAsync --- .../checkout-shipping-page.component.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/checkout-shipping/checkout-shipping-page.component.spec.ts b/src/app/pages/checkout-shipping/checkout-shipping-page.component.spec.ts index f37a1e895b..d8af17f4b3 100644 --- a/src/app/pages/checkout-shipping/checkout-shipping-page.component.spec.ts +++ b/src/app/pages/checkout-shipping/checkout-shipping-page.component.spec.ts @@ -81,7 +81,7 @@ describe('Checkout Shipping Page Component', () => { expect(element.querySelector('[role="alert"]')).toBeFalsy(); }); - it('should render an error if the user clicks next and has currently no shipping method selected', fakeAsync(() => { + it('should render an error if the user clicks next and has currently no shipping method selected', () => { when(checkoutFacade.basket$).thenReturn(of({ ...BasketMockData.getBasket(), commonShippingMethod: undefined })); fixture.detectChanges(); @@ -92,7 +92,7 @@ describe('Checkout Shipping Page Component', () => { fixture.detectChanges(); expect(element.querySelector('[role="alert"]')).toBeTruthy(); - })); + }); it('should continue checkout if selection is valid', fakeAsync(() => { fixture.detectChanges();