vant/test/unit/specs/cell.spec.js
2017-03-17 18:07:13 +08:00

18 lines
339 B
JavaScript

import CellGroup from 'packages/cell-group';
import { mount } from 'avoriaz';
describe('CellGroup', () => {
let wrapper;
afterEach(() => {
wrapper && wrapper.destroy();
});
it('create', () => {
wrapper = mount(CellGroup, {
propsData: {}
});
expect(wrapper.hasClass('zan-cell-group')).to.be.true;
});
});