Failing test: Jest Tests.x-pack/plugins/fleet/public/applications/integrations/hooks - usePackageInstall useInstallPackage should work for upgrade #201619
TypeError: installPackage is not a function
at installPackage (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.test.tsx:85:21)
at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/@testing-library/react/dist/act-compat.js:48:24
at batchedUpdates$1 (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/@testing-library/react/dist/act-compat.js:47:25
at Object.<anonymous> (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.test.tsx:84:16)
at Promise.then.completed (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:316:40)
at runNextTicks (node:internal/process/task_queues:60:5)
at processTimers (node:internal/timers:511:9)
at _runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:121:9)
at run (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732544425322253326/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:444:34)
A test failed on a tracked branch
First failure: kibana-on-merge - main