From 1b1be3fd53f57766e934bc7d12308c9f514d754b Mon Sep 17 00:00:00 2001 From: denStrigo Date: Sat, 28 Oct 2023 14:56:12 +0200 Subject: [PATCH] fix(tests): remove unused test select input --- .../select-with-autocomplete.spec.ts | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/src/framework/theme/components/select-with-autocomplete/select-with-autocomplete.spec.ts b/src/framework/theme/components/select-with-autocomplete/select-with-autocomplete.spec.ts index 33996c0f06..3a2feea8dc 100644 --- a/src/framework/theme/components/select-with-autocomplete/select-with-autocomplete.spec.ts +++ b/src/framework/theme/components/select-with-autocomplete/select-with-autocomplete.spec.ts @@ -1288,27 +1288,6 @@ describe('NbSelect - experimental search', () => { fixture.detectChanges(); }); - it("should update search input and don't emit filterChange when value of select is changed", fakeAsync(() => { - const searchInput = testComponent.selectComponent.optionSearchInput.nativeElement; - - expect(searchInput.value).toEqual(''); - expect(testComponent.filterValue).toEqual(''); - - testComponent.selectedValue = 1; - fixture.detectChanges(); - flush(); - fixture.detectChanges(); - expect(searchInput.value).toEqual('1'); - expect(testComponent.filterValue).toEqual(''); - - testComponent.selectedValue = 2; - fixture.detectChanges(); - flush(); - fixture.detectChanges(); - expect(searchInput.value).toEqual('2'); - expect(testComponent.filterValue).toEqual(''); - })); - it('should mark touched when select button loose focus and select closed', fakeAsync(() => { const touchedSpy = jasmine.createSpy('touched spy');