diff --git a/tests/unit/igcombo/combo.spec.ts b/tests/unit/igcombo/combo.spec.ts index fec59d0..4651bee 100644 --- a/tests/unit/igcombo/combo.spec.ts +++ b/tests/unit/igcombo/combo.spec.ts @@ -196,7 +196,13 @@ export function main() { fixture.detectChanges(); setTimeout(function () { expect(fixture.componentInstance.combo.value1).toEqual("foo"); - done(); + //clear + $("#combo1").parents("ig-combo").find(".ui-igcombo-clearicon").click(); + fixture.detectChanges(); + setTimeout(function () { + expect(fixture.componentInstance.combo.value1).toBeNull(); + done(); + }, 10); }, 10); }, 100); });