vant/test/unit/specs/quantity.spec.js
2017-04-13 15:34:29 +08:00

17 lines
315 B
JavaScript

import Quantity from 'packages/quantity';
import { mount } from 'avoriaz';
describe('Quantity', () => {
let wrapper;
afterEach(() => {
wrapper && wrapper.destroy();
});
it('create a quantity', () => {
wrapper = mount(Quantity);
expect(wrapper.hasClass('zan-quantity')).to.be.true;
});
});