From e1743c2b95abf6d192cf54ec9bc96d48e2d3fc4d Mon Sep 17 00:00:00 2001 From: CianciarusoCataldo Date: Tue, 30 Jul 2024 04:36:04 +0200 Subject: [PATCH] fix --- .../test-suites/molecules/ExpandableContainer.tsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tests/test-suites/molecules/ExpandableContainer.tsx b/tests/test-suites/molecules/ExpandableContainer.tsx index 63a5ddcf..bbc25c02 100644 --- a/tests/test-suites/molecules/ExpandableContainer.tsx +++ b/tests/test-suites/molecules/ExpandableContainer.tsx @@ -6,7 +6,20 @@ const expandableContainerTest = () => { describe("ExpandableContainer", () => { test("Rendering test", () => { let wrapper = mount( - Test Container + + Test Container + + ); + wrapper.find('[data-mbx-id="icb"]').simulate("click"); + expect(wrapper); + + wrapper = mount( + + Test Container + ); wrapper.find('[data-mbx-id="icb"]').simulate("click"); expect(wrapper);