Update search-input.ts

This commit is contained in:
Peter Savchenko 2024-03-09 17:33:09 +03:00
parent 745aca31bc
commit f9dfae9759
No known key found for this signature in database
GPG key ID: E68306B1AB0F727C

View file

@ -128,10 +128,6 @@ export default class SearchInput {
tabIndex: -1,
}) as HTMLInputElement;
if (import.meta.env.MODE === 'test') {
this.input.setAttribute('data-cy', 'search-input');
}
this.wrapper.appendChild(iconWrapper);
this.wrapper.appendChild(this.input);