From 6196d1b52d59416f5faf8c4ff6b4288de427bdcd Mon Sep 17 00:00:00 2001 From: Dudu-0223 Date: Sat, 19 Sep 2026 22:38:53 +0800 Subject: [PATCH] test(plugins): narrow the shared configuration slot owner --- .../client/ui-plugin-manager/tests/components.client.spec.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/ui-plugin-manager/tests/components.client.spec.tsx b/packages/client/ui-plugin-manager/tests/components.client.spec.tsx index dd0dca61f8..2cdc546c6a 100644 --- a/packages/client/ui-plugin-manager/tests/components.client.spec.tsx +++ b/packages/client/ui-plugin-manager/tests/components.client.spec.tsx @@ -115,8 +115,8 @@ function renderTab(state: Partial = {}, config: Partial - bodies[`${name}:${opts?.only ?? opts?.entryKey ?? ''}`]?.(owner.view) ?? null, + renderSlot: (name, owner, opts) => + bodies[`${name}:${opts?.only ?? opts?.entryKey ?? ''}`]?.((owner as PluginConfigViewProps).view) ?? null, } const { rerender } = render() return {