From 82f09eb4423e2ed064e73711af568dde60dffd5a Mon Sep 17 00:00:00 2001 From: AMarinov Date: Tue, 8 May 2018 17:10:52 +0300 Subject: [PATCH] chore(dropdown): Adding test for the id property #984 --- src/drop-down/drop-down.component.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drop-down/drop-down.component.spec.ts b/src/drop-down/drop-down.component.spec.ts index 174b9421933..6e6a48b21f5 100644 --- a/src/drop-down/drop-down.component.spec.ts +++ b/src/drop-down/drop-down.component.spec.ts @@ -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"); }); }); });