Browse Source

Merge branch 'v2' of https://github.com/jdf2e/nutui into v2

宋成林 7 years ago
parent
commit
ebabbebc54
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/packages/checkbox/__test__/checkbox.spec.js

+ 4 - 2
src/packages/checkbox/__test__/checkbox.spec.js

@@ -5,9 +5,11 @@ import Vue from 'vue';
 
 describe('Checkbox.vue', () => {
     const wrapper = shallowMount(Checkbox, {
-
+        propsData:{
+            value:true
+        }
     });
-
+    
     it('尺寸设置为base', () => {
         wrapper.setProps({ size: 'base' });