Skip to content

Commit

Permalink
fix(stepper): stepper输入小数-测试用例
Browse files Browse the repository at this point in the history
  • Loading branch information
fennghuang committed Sep 27, 2023
1 parent 79c4e4b commit 0f29e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stepper/__test__/index.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ describe('stepper', () => {
const wrapper = mount(<Stepper v-model={data.value} onChange={handleChange} />);
const $input = wrapper.find('.t-stepper__input').element;

const inputValue = 12;
const inputValue = '12';
await simulateEvent($input, inputValue, 'input');
expect(value.value).toBe(inputValue);
});
Expand Down

0 comments on commit 0f29e33

Please sign in to comment.