We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f5ce59 commit bba54cfCopy full SHA for bba54cf
src/components/form-input/form-input.spec.js
@@ -695,8 +695,8 @@ describe('form-input', () => {
695
// Should emit a new input event
696
expect(wrapper.emitted('input').length).toEqual(2)
697
expect(wrapper.emitted('input')[1][0]).toEqual('123.4500')
698
- // Should emit a new update event
699
- expect(wrapper.emitted('update').length).toBe(2)
+ // v-model value stays the same and update event shouldn't be emitted again
+ expect(wrapper.emitted('update').length).toBe(1)
700
expect(wrapper.emitted('update')[0][0]).toBeCloseTo(123.45)
701
702
// Updating the v-model to new numeric value
0 commit comments