diff --git a/x-pack/plugins/fleet/public/applications/fleet/mock/create_test_renderer.tsx b/x-pack/plugins/fleet/public/applications/fleet/mock/create_test_renderer.tsx index b4ee7184b8d53..2a96ba63ac18a 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/mock/create_test_renderer.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/mock/create_test_renderer.tsx @@ -71,8 +71,7 @@ export const createTestRendererMock = (): TestRenderer => { ...options, }); }); - // @ts-ignore - return renderResponse; + return renderResponse!; }, };