Skip to content

Commit

Permalink
fix(tests): remove unused test select input
Browse files Browse the repository at this point in the history
  • Loading branch information
denStrigo committed Oct 28, 2023
1 parent 96968a6 commit 1b1be3f
Showing 1 changed file with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 1b1be3f

Please sign in to comment.