From 3460f01b47dc3b825d2717165d5980679d0b8926 Mon Sep 17 00:00:00 2001 From: sand4rt Date: Mon, 24 Oct 2022 21:31:35 +0200 Subject: [PATCH] test(ct): component as slot (#18090) --- tests/components/ct-react-vite/src/tests.spec.tsx | 7 +++++++ tests/components/ct-react/src/tests.spec.tsx | 7 +++++++ tests/components/ct-solid/src/tests.spec.tsx | 8 ++++++++ tests/components/ct-vue-cli/src/notation-jsx.spec.tsx | 7 +++++++ tests/components/ct-vue-vite/src/notation-jsx.spec.tsx | 7 +++++++ tests/components/ct-vue2-cli/src/notation-jsx.spec.tsx | 7 +++++++ 6 files changed, 43 insertions(+) diff --git a/tests/components/ct-react-vite/src/tests.spec.tsx b/tests/components/ct-react-vite/src/tests.spec.tsx index a639055656..22e28a73ab 100644 --- a/tests/components/ct-react-vite/src/tests.spec.tsx +++ b/tests/components/ct-react-vite/src/tests.spec.tsx @@ -70,6 +70,13 @@ test('render a default child', async ({ mount }) => { await expect(component).toContainText('Main Content') }) +test('render a component as slot', async ({ mount }) => { + const component = await mount( +