From dc8a2cdf249c6ea2abe3d2ed648deb46236720c9 Mon Sep 17 00:00:00 2001 From: Pierre Romera Date: Wed, 2 Oct 2024 16:07:32 +0000 Subject: [PATCH] fix: remove tips tests --- .../components/Search/SearchBar/SearchBarInput.spec.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/unit/specs/components/Search/SearchBar/SearchBarInput.spec.js b/tests/unit/specs/components/Search/SearchBar/SearchBarInput.spec.js index 5cc145bd03..a0d8e0ba3f 100644 --- a/tests/unit/specs/components/Search/SearchBar/SearchBarInput.spec.js +++ b/tests/unit/specs/components/Search/SearchBar/SearchBarInput.spec.js @@ -30,11 +30,4 @@ describe('SearchBarInput.vue', function () { await wrapper.setProps({ disableSubmit: true }) expect(wrapper.find('.search-bar-input__submit').element.disabled).toBe(true) }) - - it('should show tips when there is a query', () => { - wrapper = shallowMountFactory() - expect(wrapper.find('.search-bar-input__tips-addon--active').exists()).toBeFalsy() - wrapper = shallowMountFactory({ modelValue: 'query' }) - expect(wrapper.find('.search-bar-input__tips-addon--active').exists()).toBeTruthy() - }) })