diff --git a/packages/qwik/src/optimizer/src/plugins/vite.unit.ts b/packages/qwik/src/optimizer/src/plugins/vite.unit.ts index f23efcdc3cd..52bec43cd98 100644 --- a/packages/qwik/src/optimizer/src/plugins/vite.unit.ts +++ b/packages/qwik/src/optimizer/src/plugins/vite.unit.ts @@ -408,7 +408,7 @@ test('command: build, --mode lib with multiple outputs', async () => { const initOpts = { optimizerOptions: mockOptimizerOptions(), }; - const plugin = qwikVite(initOpts); + const plugin = qwikVite(initOpts)[0]; const c: any = (await plugin.config( { build: {