8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da10ba8 commit 807eba6Copy full SHA for 807eba6
src/components/dropdown/tests/CDropdown.spec.js
@@ -128,7 +128,12 @@ describe(ComponentName, () => {
128
expect(customWrapper.vm.visible).toBe(false)
129
toggle()
130
131
- })
+ })
132
+ it('emits click on split button click', () => {
133
+ const wrapper = generateWrapper()
134
+ wrapper.vm.$el.getElementsByTagName('button')[0].click()
135
+ expect(wrapper.emitted()['click']).toBeTruthy()
136
137
it('Closes dropdown on outside click', () => {
138
const customWrapper = generateWrapper()
139
0 commit comments