Skip to content

Commit

Permalink
feat: use demo content artifact in header navigation (#1038)
Browse files Browse the repository at this point in the history
  • Loading branch information
suschneider committed Mar 4, 2022
1 parent 06a25c4 commit e065b3f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Expand Up @@ -27,4 +27,5 @@
></ish-sub-category-navigation>
</ng-container>
</li>
<ish-lazy-content-include includeId="include.header.navigation.pagelet2-Include"></ish-lazy-content-include>
</ul>
Expand Up @@ -8,6 +8,7 @@ import { instance, mock, when } from 'ts-mockito';
import { ShoppingFacade } from 'ish-core/facades/shopping.facade';
import { NavigationCategory } from 'ish-core/models/navigation-category/navigation-category.model';
import { SubCategoryNavigationComponent } from 'ish-shell/header/sub-category-navigation/sub-category-navigation.component';
import { LazyContentIncludeComponent } from 'ish-shell/shared/lazy-content-include/lazy-content-include.component';

import { HeaderNavigationComponent } from './header-navigation.component';

Expand All @@ -26,6 +27,7 @@ describe('Header Navigation Component', () => {
HeaderNavigationComponent,
MockComponent(FaIconComponent),
MockComponent(SubCategoryNavigationComponent),
MockComponent(LazyContentIncludeComponent),
],
providers: [{ provide: ShoppingFacade, useFactory: () => instance(shoppingFacade) }],
}).compileComponents();
Expand Down Expand Up @@ -65,6 +67,10 @@ describe('Header Navigation Component', () => {
CAT_C
</a>
</li>
<ish-lazy-content-include
includeid="include.header.navigation.pagelet2-Include"
ng-reflect-include-id="include.header.navigation.page"
></ish-lazy-content-include>
</ul>
`);
});
Expand Down

0 comments on commit e065b3f

Please sign in to comment.