From a6aa2b76852e0333b5f104ed7fd1cf29b38524a0 Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Thu, 23 Sep 2021 16:34:09 +0200 Subject: [PATCH] chore: fix test warnings The Vue compiler started complaining about badly formed templates. --- tests/findComponent.spec.ts | 6 +++--- tests/isVisible.spec.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/findComponent.spec.ts b/tests/findComponent.spec.ts index ea59732c0..32b310205 100644 --- a/tests/findComponent.spec.ts +++ b/tests/findComponent.spec.ts @@ -363,7 +363,7 @@ describe('findComponent', () => { const Comp = defineComponent({ components: { Hello: Hello }, template: - '
' + '
' }) const wrapper = mount(Comp) @@ -377,7 +377,7 @@ describe('findComponent', () => { name: 'Comp', props: ['firstLevel'], template: - '
' + '
' }) const wrapper = mount(Comp, { props: { firstLevel: true } }) @@ -399,7 +399,7 @@ describe('findComponent', () => { it('uses refs of correct component when searching by ref', () => { const Child = defineComponent({ components: { Hello }, - template: '
' + template: '
' }) const Comp = defineComponent({ components: { Child, Hello }, diff --git a/tests/isVisible.spec.ts b/tests/isVisible.spec.ts index 88fba5547..e8ede1a9b 100644 --- a/tests/isVisible.spec.ts +++ b/tests/isVisible.spec.ts @@ -200,7 +200,7 @@ describe('isVisible', () => { describe('child has two nodes', () => { const Foo = defineComponent({ - template: `
` + template: `
` }) const Root = defineComponent({