diff --git a/src/components/__tests__/FormModel.spec.js b/src/components/__tests__/FormModel.spec.js index 66157d567..e35684bc3 100644 --- a/src/components/__tests__/FormModel.spec.js +++ b/src/components/__tests__/FormModel.spec.js @@ -9,8 +9,8 @@ describe('FormModel', () => { describe('modelValue', () => { it('should use the provided model', () => { - const { vm } = mount({ propsData: { model: 'mockModel' } }); - expect(vm.modelValue).toBe('mockModel'); + const { vm } = mount({ propsData: { model } }); + expect(vm.modelValue).toBe(model); }); it('should use the route meta title when model is not provided', () => {