Browse Source

test: stepper 修改

richard1015 5 years ago
parent
commit
aa9f4ca789
1 changed files with 1 additions and 1 deletions
  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');
         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);
     });