Skip to content

Commit

Permalink
chore(dropdown): Adding tests #984
Browse files Browse the repository at this point in the history
  • Loading branch information
dafo committed May 10, 2018
1 parent 1b7cafd commit 14ebd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drop-down/drop-down.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe("IgxDropDown ", () => {
button.click(mockObj);
fixture.whenStable().then(() => {
fixture.detectChanges();
const currentItem = fixture.debugElement.queryAll(By.css("." + CSS_CLASS_SELECTED))[0];
const currentItem = fixture.debugElement.queryAll(By.css("." + CSS_CLASS_FOCUSED))[0];
expect(currentItem.componentInstance.index).toEqual(0);
currentItem.triggerEventHandler("keydown.ArrowDown", mockObj);
return fixture.whenStable();
Expand Down

0 comments on commit 14ebd35

Please sign in to comment.