diff --git a/packages/vee-validate/tests/ErrorMessage.spec.ts b/packages/vee-validate/tests/ErrorMessage.spec.ts index 36edba8f8..f118bba88 100644 --- a/packages/vee-validate/tests/ErrorMessage.spec.ts +++ b/packages/vee-validate/tests/ErrorMessage.spec.ts @@ -18,7 +18,7 @@ describe('', () => { }, template: ` - + `, @@ -35,7 +35,7 @@ describe('', () => { }, template: ` - + `, @@ -63,8 +63,8 @@ describe('', () => { ErrorMessage, }, template: ` - - + + @@ -86,8 +86,8 @@ describe('', () => { ErrorMessage, }, template: ` - - + + icon {{ message }} @@ -111,8 +111,8 @@ describe('', () => { ErrorMessage, }, template: ` - - + +

{{ message }}

diff --git a/packages/vee-validate/tests/Field.spec.ts b/packages/vee-validate/tests/Field.spec.ts index 039f34239..82d41a85a 100644 --- a/packages/vee-validate/tests/Field.spec.ts +++ b/packages/vee-validate/tests/Field.spec.ts @@ -46,7 +46,7 @@ describe('', () => { test('renders an input by default', () => { const wrapper = mountWithHoc({ template: ` - + `, }); @@ -112,7 +112,7 @@ describe('', () => { }; }, template: ` - + {{ errors[0] }} @@ -166,7 +166,7 @@ describe('', () => { test('listens for change events', async () => { const wrapper = mountWithHoc({ template: ` - + @@ -287,8 +287,8 @@ describe('', () => { test('validates target fields using targeted params', async () => { const wrapper = mountWithHoc({ template: ` - - + + @@ -846,7 +846,7 @@ describe('', () => { }, template: ` - Coffee + Coffee diff --git a/packages/vee-validate/tests/Form.spec.ts b/packages/vee-validate/tests/Form.spec.ts index dd6a130be..bcf67c49a 100644 --- a/packages/vee-validate/tests/Form.spec.ts +++ b/packages/vee-validate/tests/Form.spec.ts @@ -26,7 +26,7 @@ describe('
', () => { const wrapper = mountWithHoc({ template: `
- +
`, }); @@ -37,8 +37,8 @@ describe('', () => { test('observes the current state of providers', async () => { const wrapper = mountWithHoc({ template: ` - - + + {{ meta.valid }} @@ -70,8 +70,8 @@ describe('', () => { }; }, template: ` - - + + {{ errors.field }} @@ -108,8 +108,8 @@ describe('', () => { }; }, template: ` - - + + {{ errors.field }} @@ -145,8 +145,8 @@ describe('', () => { const resetValue = 'I was reset'; const wrapper = mountWithHoc({ template: ` - - + + {{ errors.field }} {{ meta.dirty.toString() }} {{ meta.touched.toString() }} @@ -191,8 +191,8 @@ describe('', () => { }; }, template: ` - - + + @@ -219,9 +219,9 @@ describe('', () => { }; }, template: ` - - - + + + @@ -260,9 +260,9 @@ describe('', () => { }; }, template: ` - - - + + + @@ -293,8 +293,8 @@ describe('', () => { const submitMock = jest.fn(); const wrapper = mountWithHoc({ template: ` - - + + {{ errors.field }} @@ -325,7 +325,7 @@ describe('', () => {
- + {{ errors.field }} @@ -364,11 +364,11 @@ describe('', () => { }; }, template: ` - - + + {{ errors.email }} - + {{ errors.password }} @@ -418,11 +418,11 @@ describe('', () => { }; }, template: ` - - + + {{ errors.field }} - + {{ errors.other }} @@ -453,11 +453,11 @@ describe('', () => { }; }, template: ` - - + + {{ errors.password }} - + {{ errors.confirmation }} @@ -496,9 +496,9 @@ describe('', () => { }, template: ` - Coffee - Tea - Coke + Coffee + Tea + Coke {{ errors.drink }} @@ -552,7 +552,7 @@ describe('', () => { @@ -597,7 +597,7 @@ describe('', () => { @@ -684,7 +684,7 @@ describe('', () => { }, template: ` - Coffee + Coffee {{ errors.drink }} {{ typeof values.drink }} @@ -726,15 +726,15 @@ describe('', () => { }; }, template: ` - + - Coke + Coke {{ errors }} {{ values }} @@ -786,15 +786,15 @@ describe('', () => { }; }, template: ` - + - Coke + Coke {{ errors }} @@ -849,15 +849,15 @@ describe('', () => { }; }, template: ` - + - Coke + Coke {{ errors }} {{ values }} @@ -911,16 +911,16 @@ describe('', () => { }; }, template: ` - + - Coke + Coke {{ errors }} @@ -976,15 +976,15 @@ describe('', () => { }; }, template: ` - + - Coke + Coke {{ errors }} {{ values }} @@ -1041,15 +1041,15 @@ describe('', () => { }; }, template: ` - + - Coke + Coke {{ errors }} @@ -1108,14 +1108,14 @@ describe('', () => { }; }, template: ` - + {{ errors }} @@ -1170,9 +1170,9 @@ describe('', () => { }, template: ` - Coffee - Tea - Coke + Coffee + Tea + Coke {{ errors.drink }} {{ values.drink && values.drink.toString() }} @@ -1221,9 +1221,9 @@ describe('', () => { }, template: ` - Coffee - Tea - Coke + Coffee + Tea + Coke {{ errors.drink }} {{ JSON.stringify(values.drink) }} @@ -1274,9 +1274,9 @@ describe('', () => { }, template: ` - Coffee - Tea - Coke + Coffee + Tea + Coke {{ errors.drink }} {{ values.drink && values.drink.toString() }} @@ -1330,7 +1330,7 @@ describe('', () => { }; }, template: ` - + {{ isSubmitting }} @@ -1360,7 +1360,7 @@ describe('', () => { const wrapper = mountWithHoc({ template: ` - + @@ -1388,8 +1388,8 @@ describe('', () => { }, template: ` - - + +
{{ values }}
@@ -1428,9 +1428,9 @@ describe('', () => { }, template: ` - + {{ errors['user.name'] }} - + {{ errors['user.addresses[0]'] }} @@ -1472,8 +1472,8 @@ describe('', () => { }, template: ` - - + +
{{ values }}
@@ -1507,11 +1507,11 @@ describe('', () => { }; }, template: ` - - + + {{ errors.email }} - + {{ errors.password }} @@ -1534,7 +1534,7 @@ describe('', () => { const wrapper = mountWithHoc({ template: ` - + {{ errors.email }} `, @@ -1552,10 +1552,10 @@ describe('', () => { const wrapper = mountWithHoc({ template: ` - + {{ errors.email }} - + {{ errors.password }} `, @@ -1599,7 +1599,7 @@ describe('', () => { const wrapper = mountWithHoc({ template: ` - + `, }); @@ -1616,8 +1616,8 @@ describe('', () => { const wrapper = mountWithHoc({ template: ` - - + + `, }); @@ -1651,10 +1651,10 @@ describe('', () => { template: ` - + {{ errors.email }} - + {{ errors.password }} @@ -1703,10 +1703,10 @@ describe('', () => { template: ` - + {{ errors.email }} - + {{ errors.password }} @@ -1772,9 +1772,9 @@ describe('', () => { }, template: ` - + - + `, @@ -1877,7 +1877,7 @@ describe('', () => { const wrapper = mountWithHoc({ template: ` - + @@ -1937,7 +1937,7 @@ describe('', () => {
  • - +
@@ -1960,8 +1960,8 @@ describe('', () => { const wrapper = mountWithHoc({ template: ` - - + + {{ meta.valid ? 'valid' : 'invalid' }} @@ -1986,8 +1986,8 @@ describe('', () => { const wrapper = mountWithHoc({ template: ` - - + + {{ meta.valid ? 'valid' : 'invalid' }} @@ -2007,8 +2007,8 @@ describe('', () => { const wrapper = mountWithHoc({ template: ` - - + + {{ meta.valid ? 'valid' : 'invalid' }} @@ -2052,8 +2052,8 @@ describe('', () => { }, template: ` - - + + {{ errors.email }} @@ -2187,8 +2187,8 @@ describe('', () => { }, template: ` - - + + {{ fieldProps.meta.touched ? 'touched' : 'untouched' }} @@ -2564,10 +2564,10 @@ describe('', () => { }, template: ` - + {{ errors.email }} - + {{ errors.password }} @@ -2624,10 +2624,10 @@ describe('', () => { template: ` - + {{ errors.email }} - + {{ errors.password }} @@ -2679,7 +2679,7 @@ describe('', () => { }; }, template: ` - +