#7056 update route meta information and add FormModel tests #1122

Merged
jorgep merged 8 commits from 7056-formModelTest into dev 2024-12-26 11:07:21 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit f4aee047ff - Show all commits

View File

@ -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

mockModel? Porque no usar la variable model?

mockModel? Porque no usar la variable model?
expect(vm.modelValue).toBe(model);
jorgep marked this conversation as resolved Outdated

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', () => {