feat(Col): add click event (#4169)

This commit is contained in:
neverland
2019-08-21 10:14:15 +08:00
committed by GitHub
parent 66f3aac389
commit 6b8fbfb290
4 changed files with 32 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
import Col from '..';
import { mount } from '../../../test/utils';
test('Col click event', () => {
const wrapper = mount(Col);
wrapper.trigger('click');
expect(wrapper.emitted('click')).toBeTruthy();
});