Skip to content

Commit 5256901

Browse files
authored
Update sidenav-buttons.component.spec.ts
1 parent 39c76e9 commit 5256901

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/component/sidenav-buttons/sidenav-buttons.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('SidenavButtonsComponent', () => {
3232

3333
it('check for navigation names being shown in the same order as options array', () => {
3434
const HTMLElement: HTMLElement = fixture.nativeElement;
35-
const NavigationList = HTMLElement.querySelectorAll('h3')!;
35+
const NavigationList = HTMLElement.querySelectorAll('a > h3')!;
3636
let NavigationNamesBeingShown = [];
3737
for (var x = 0; x < NavigationList.length; x += 1) {
3838
NavigationNamesBeingShown.push(NavigationList[x].textContent);

0 commit comments

Comments
 (0)