mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
GH Auto: Upstream dependencies ADF:8.4.0-19126740914 JS-API:9.4.0-19126740914 using Tag:8.4.0-19126740914 (#4887)
* [ci:force][auto-commit] Update dependencies ADF:8.4.0-19126740914 JS:9.4.0-19126740914 * fixes upstream --------- Co-authored-by: rmnvch <90370279+rmnvch@users.noreply.github.com> Co-authored-by: Anton Ramanovich <Anton.Ramanovich@hyland.com>
This commit is contained in:
co-authored by
rmnvch
Anton Ramanovich
parent
5a233777a7
commit
d216c2f012
+10
-2
@@ -55,7 +55,11 @@ describe('SaveSearchSidenavComponent', () => {
|
||||
});
|
||||
|
||||
it('should set navbar object if no search is saved', async () => {
|
||||
savedSearchesService.savedSearches$.next([]);
|
||||
Object.defineProperty(savedSearchesService, 'savedSearches$', {
|
||||
value: of([]),
|
||||
writable: true,
|
||||
configurable: true
|
||||
});
|
||||
fixture.detectChanges();
|
||||
await fixture.whenStable();
|
||||
|
||||
@@ -78,7 +82,11 @@ describe('SaveSearchSidenavComponent', () => {
|
||||
});
|
||||
|
||||
it('should set navbar object with children is searches are saved', fakeAsync(() => {
|
||||
savedSearchesService.savedSearches$.next([{ name: '1', order: 0, encodedUrl: 'abc' }]);
|
||||
Object.defineProperty(savedSearchesService, 'savedSearches$', {
|
||||
value: of([{ name: '1', order: 0, encodedUrl: 'abc' }]),
|
||||
writable: true,
|
||||
configurable: true
|
||||
});
|
||||
component.ngOnInit();
|
||||
fixture.detectChanges();
|
||||
tick(100);
|
||||
|
||||
Reference in New Issue
Block a user