unit test

This commit is contained in:
cookfront
2017-04-13 15:34:29 +08:00
parent 5a63e79ca7
commit 7ae82872e1
7 changed files with 85 additions and 65 deletions

View File

@@ -16,7 +16,7 @@ describe('Field', () => {
expect(wrapper.hasClass('zan-field')).to.be.true;
});
it('create a text field with initialize value', () => {
it('create a text field with initialize value', (done) => {
wrapper = mount(Field, {
propsData: {
value: 'test'