浏览代码

test: stepper 修改

richard1015 5 年之前
父节点
当前提交
aa9f4ca789
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/packages/stepper/__test__/stepper.spec.js

+ 1 - 1
src/packages/stepper/__test__/stepper.spec.js

@@ -18,7 +18,7 @@ describe('Stepper.vue', () => {
         });
         });
         const input = wraper.find('input');
         const input = wraper.find('input');
         expect(wraper.contains('.nut-stepper-grey')).toBe(true);
         expect(wraper.contains('.nut-stepper-grey')).toBe(true);
-        expect(input.attributes('min')).toBe('0');
+        expect(input.attributes('min')).toBe('10');
         expect(input.attributes('max')).toBe(maxVal);
         expect(input.attributes('max')).toBe(maxVal);
     });
     });