Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tests): remove unused test select input #3219

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading