rusackas commented on PR #34945: URL: https://github.com/apache/superset/pull/34945#issuecomment-3642911138
## Automated Analysis This dependency update requires **significant work** due to breaking API changes. ### Issues Found fetch-mock v12 has breaking API changes that affect multiple test files: ``` error TS2339: Property 'resetHistory' does not exist on type 'FetchMock'. error TS2339: Property 'calls' does not exist on type 'FetchMock'. error TS2339: Property 'restore' does not exist on type 'FetchMock'. error TS2339: Property 'reset' does not exist on type 'FetchMock'. error TS2353: 'sendAsJson' does not exist in type 'UserRouteConfig'. error TS2353: 'overwriteRoutes' does not exist in type 'UserRouteConfig'. ``` ### Affected Files - `packages/superset-ui-core/src/components/ListViewCard/ImageLoader.test.tsx` - `packages/superset-ui-core/test/chart/clients/ChartClient.test.ts` - `packages/superset-ui-core/test/connection/SupersetClient.test.ts` - `packages/superset-ui-core/test/connection/SupersetClientClass.test.ts` - `packages/superset-ui-core/test/connection/callApi/callApi.test.ts` - And more... ### Recommended Fix This requires migrating to the new fetch-mock v12 API. See the [fetch-mock migration guide](https://www.wheresrhys.co.uk/fetch-mock/). Labeling for manual attention. --- 🤖 *Analyzed by dependabot-batch agent* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
