unit test
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user