Manual upstream (#5040)

This commit is contained in:
Dominik Iwanek
2026-02-11 19:31:50 +00:00
committed by GitHub
parent 51deb5ccd1
commit 85c8d36730
3 changed files with 54 additions and 114 deletions
@@ -175,7 +175,9 @@ describe('SearchInputComponent', () => {
component.searchedWord = 'term';
routerEventsSubject.next(new NavigationStart(1, '/path?q=term'));
configUpdatedSubject.next({});
configUpdatedSubject.next({
id: 'config1'
});
expect(component.searchByOption).toHaveBeenCalled();
});
@@ -185,7 +187,9 @@ describe('SearchInputComponent', () => {
routerEventsSubject.next(new NavigationStart(1, '/path'));
configUpdatedSubject.next({});
configUpdatedSubject.next({
id: 'config1'
});
spyOn(component, 'searchByOption').and.stub();
component.ngOnInit();