From f931cb3d03da4d3975a3785465b0d8446614dfa8 Mon Sep 17 00:00:00 2001 From: Jeff Sagal Date: Fri, 18 Feb 2022 15:36:29 -0800 Subject: [PATCH] Update Dropdown.spec.js --- tests/unit/Dropdown.spec.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/unit/Dropdown.spec.js b/tests/unit/Dropdown.spec.js index 1130ed3..0cb1a98 100755 --- a/tests/unit/Dropdown.spec.js +++ b/tests/unit/Dropdown.spec.js @@ -31,19 +31,6 @@ describe('Toggling Dropdown', () => { expect(Select.vm.open).toEqual(true) }) - it('should not close the dropdown when the el is clicked and enableMouseInputSearch is set to true', () => { - const Select = selectWithProps({ - modelValue: [{ label: 'one' }], - options: [{ label: 'one' }], - enableMouseSearchInput: true, - }) - - Select.vm.toggleDropdown(clickEvent(Select.vm.$refs.search)) - expect(Select.vm.open).toBeFalsy() - Select.vm.toggleDropdown(clickEvent(Select.vm.$el)) - expect(Select.vm.open).toBeFalsy() - }) - it('should open the dropdown when the selected tag is clicked', () => { const Select = selectWithProps({ modelValue: [{ label: 'one' }],