[Improvement] Cell: support number type title & value (#1073)

This commit is contained in:
neverland
2018-05-15 18:41:45 +08:00
committed by GitHub
parent e8aad7246c
commit 1da5e3637c
4 changed files with 19 additions and 7 deletions
+9
View File
@@ -0,0 +1,9 @@
import Cell from '..';
import { mount } from '@vue/test-utils';
test('click event', () => {
const wrapper = mount(Cell);
wrapper.trigger('click');
expect(wrapper.emitted('click')).toBeTruthy();
});