Skip to content

Commit

Permalink
chore(dropdown): Adding test for the id property #984
Browse files Browse the repository at this point in the history
  • Loading branch information
dafo committed May 8, 2018
1 parent d8d8455 commit 82f09eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drop-down/drop-down.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,13 +528,13 @@ fdescribe("IgxDropDown ", () => {
expect(list.items.length).toEqual(13);
fixture.componentInstance.dropdownDisabled.width = "80%";
fixture.componentInstance.dropdownDisabled.height = "400px";
fixture.componentInstance.dropdownDisabled.id = "newDD";
button.click();
fixture.whenStable().then(() => {
fixture.detectChanges();
// tslint:disable-next-line:no-debugger
debugger;
expect(fixture.componentInstance.dropdownDisabled.height).toEqual("400px");
expect(fixture.componentInstance.dropdownDisabled.width).toEqual("80%");
expect(fixture.componentInstance.dropdownDisabled.id).toEqual("newDD");
});
});
});
Expand Down

0 comments on commit 82f09eb

Please sign in to comment.