File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
projects/components/src/overlay Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 11import { ChangeDetectionStrategy , Component , Inject } from '@angular/core' ;
22import { fakeAsync , flush } from '@angular/core/testing' ;
33import { IconLibraryTestingModule } from '@hypertrace/assets-library' ;
4- import { GLOBAL_HEADER_HEIGHT , NavigationService } from '@hypertrace/common' ;
4+ import { GlobalHeaderHeightProviderService , NavigationService } from '@hypertrace/common' ;
55import { OverlayService , SheetRef , SheetSize } from '@hypertrace/components' ;
66import { createHostFactory , mockProvider } from '@ngneat/spectator/jest' ;
77import { EMPTY } from 'rxjs' ;
@@ -33,10 +33,9 @@ describe('Overlay service', () => {
3333 mockProvider ( NavigationService , {
3434 navigation$ : EMPTY
3535 } ) ,
36- {
37- provide : GLOBAL_HEADER_HEIGHT ,
38- useValue : 100
39- }
36+ mockProvider ( GlobalHeaderHeightProviderService , {
37+ globalHeaderHeight : '56px'
38+ } ) ,
4039 ] ,
4140 template : `<host></host>`
4241 } ) ;
You can’t perform that action at this time.
0 commit comments