vant components

This commit is contained in:
cookfront
2017-04-19 17:33:44 +08:00
commit 63c549d651
346 changed files with 25710 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
// import Toast from 'packages/toast';
// import { mount } from 'avoriaz';
// describe('Toast', () => {
// // it('create simple toast', () => {
// // Toast('a message');
// // var toast = document.querySelector('.van-toast');
// // expect(toast).not.to.be.underfined;
// // setTimeout(() => {
// // expect(toast.hidden).to.be.true;
// // }, 301);
// // });
// // it('create loading toast', () => {
// // Toast.loading('');
// // var toast = document.querySelector('.van-toast');
// // expect(toast).not.to.be.underfined;
// // setTimeout(() => {
// // expect(toast.hidden).to.be.true;
// // }, 301);
// // });
// // it('create loading toast', () => {
// // Toast.success('');
// // var toast = document.querySelector('.van-toast');
// // expect(toast).not.to.be.underfined;
// // setTimeout(() => {
// // expect(toast.hidden).to.be.true;
// // }, 301);
// // });
// });