Chore: homepage tests (#6278)

This commit is contained in:
shamoon
2026-02-04 19:58:39 -08:00
committed by GitHub
parent 7d019185a3
commit 872a3600aa
558 changed files with 32606 additions and 84 deletions
+2 -1
View File
@@ -72,7 +72,8 @@ export default function Component({ service }) {
widget.integrations
?.filter((integration) => integration?.type)
.map((integration) => ({
service: dynamic(() => import(`./integrations/${integration.type}`)),
// Include the extension so Vite/Vitest can statically validate the import base.
service: dynamic(() => import(`./integrations/${integration.type}.jsx`)),
widget: { ...widget, ...integration },
})) ?? [],
[widget],