#7056 update route meta information and add FormModel tests #1122
|
@ -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 } });
|
||||
jorgep marked this conversation as resolved
Outdated
|
||||
expect(vm.modelValue).toBe(model);
|
||||
jorgep marked this conversation as resolved
Outdated
jsegarra
commented
mockModel? Porque no usar la variable model? mockModel? Porque no usar la variable model?
|
||||
});
|
||||
|
||||
it('should use the route meta title when model is not provided', () => {
|
||||
|
|
Loading…
Reference in New Issue
mockModel? Porque no usar la variable model?