diff --git a/packages/qwik-testing-library/src/lib/qwik-testing-library.tsx b/packages/qwik-testing-library/src/lib/qwik-testing-library.tsx index 10930f0..3b32bbe 100644 --- a/packages/qwik-testing-library/src/lib/qwik-testing-library.tsx +++ b/packages/qwik-testing-library/src/lib/qwik-testing-library.tsx @@ -24,6 +24,7 @@ async function render(ui: JSXOutput, options: Options = {}): Promise { ); } + // Wrap the component under test if a wrapper is provided const wrappedUi = !Wrapper ? ui : ; const { cleanup } = await qwik.render(container, wrappedUi, { serverData });