Skip to content

Commit

Permalink
test(): remove out-of-place test
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitMY committed Dec 15, 2024
1 parent fc800fa commit bcb8afa
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit bcb8afa

Please sign in to comment.