8389-testToMaster #1207
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in New Issue