mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
chore: add new component statistics (#22159)
* statistic:新增statistic组件,用于数值展示和倒计时 Co-authored-by: yang <29636098325@qq.com>
This commit is contained in:
15
test/unit/specs/statistic.spec.js
Normal file
15
test/unit/specs/statistic.spec.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import { createTest, destroyVM } from '../util';
|
||||
import Statistic from 'packages/statistic';
|
||||
|
||||
describe('Statistic', () => {
|
||||
let vm;
|
||||
afterEach(() => {
|
||||
destroyVM(vm);
|
||||
});
|
||||
|
||||
it('create', () => {
|
||||
vm = createTest(Statistic, true);
|
||||
expect(vm.$el).to.exist;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user