From bcb8afa86a46329d84429ca893fc5e2da4492a54 Mon Sep 17 00:00:00 2001 From: Amit Moryossef Date: Sun, 15 Dec 2024 10:44:15 +0200 Subject: [PATCH] test(): remove out-of-place test --- src/app/app.component.spec.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index cf6638bf..a6f45b6c 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -44,13 +44,6 @@ describe('AppComponent', () => { expect(document.body.className.includes('embed')).toEqual(true); }); - it('should set spoken language text url param is included', () => { - component.urlParams.set('text', '123'); - const dispatchSpy = spyOn(store, 'dispatch'); - component.checkURLText(); - expect(dispatchSpy).toHaveBeenCalledWith(new SetSpokenLanguageText('123')); - }); - it('language change to german should set direction ltr', () => { const transloco = TestBed.inject(TranslocoService); transloco.setActiveLang('de');