fix(plugins): keep the API client and the panel test within their size entries, drop an unused import

This commit is contained in:
Maurice
2026-10-26 00:57:56 +01:00
parent 447ae54b93
commit 64ed2175a5
4 changed files with 10 additions and 29 deletions
@@ -273,7 +273,7 @@ describe('usePluginsAdmin', () => {
]);
vi.spyOn(adminApi, 'pluginActivate').mockResolvedValue({});
const { result } = await mounted();
act(() => result.current.toggle(result.current.plugins[0]!));
act(() => result.current.toggle(result.current.plugins[0] as PluginRow));
expect(adminApi.pluginActivate).not.toHaveBeenCalled();
expect(result.current.bypass.warning).toMatchObject({
acceptedByAdmin: true,