Browse Source

upd: field test

richard1015 5 years ago
parent
commit
ce968f9073
1 changed files with 0 additions and 21 deletions
  1. 0 21
      src/packages/field/__test__/field.spec.js

+ 0 - 21
src/packages/field/__test__/field.spec.js

@@ -1,21 +0,0 @@
-import { shallowMount, mount } from '@vue/test-utils'
-import ActionSheet from '../field.vue'
-import Vue from 'vue';
-
-
-describe('Field.vue', () => {
-    const wrapper = shallowMount(Field, {
-        propsData: {
-            label: '自我介绍',
-            type: "text"
-        }
-    });
-
-    // it('图标展示', () => {
-    //     //wrapper.setProps({ type: 'top' });
-
-    //     return Vue.nextTick().then(function() {
-    //         expect(wrapper.contains('.nut-icon-top')).toBe(true);
-    //     })
-    // });
-});