diff --git a/src/widgets/calendar/component.jsx b/src/widgets/calendar/component.jsx index b97f4d46d..9295f0770 100644 --- a/src/widgets/calendar/component.jsx +++ b/src/widgets/calendar/component.jsx @@ -73,7 +73,13 @@ export default function Component({ service }) { ?.filter((integration) => integration?.type) .map((integration) => ({ // Include the extension so Vite/Vitest can statically validate the import base. - service: dynamic(() => import(`./integrations/${integration.type}.jsx`)), + service: dynamic( + () => + import( + /* webpackExclude: /\.test\.jsx$/ */ + `./integrations/${integration.type}.jsx` + ), + ), widget: { ...widget, ...integration }, })) ?? [], [widget],