chore(deps-dev): bump fetch-mock from 11.1.5 to 12.6.0 in /superset-frontend/packages/superset-ui-core (#36662)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
dependabot[bot]
2026-01-30 21:27:35 +07:00
committed by GitHub
parent 1f43138888
commit 66519c3a85
121 changed files with 1499 additions and 1215 deletions

View File

@@ -258,11 +258,13 @@ test('retains query mode requirements when query_mode is enabled', async () => {
await waitFor(() => renderWithRouter({ initialState: customState }));
const formDataEndpointCalls = fetchMock.calls(/api\/v1\/explore\/form_data/);
const formDataEndpointCalls = fetchMock.callHistory.calls(
/api\/v1\/explore\/form_data/,
);
expect(formDataEndpointCalls.length).toBeGreaterThan(0);
const lastCall = formDataEndpointCalls[formDataEndpointCalls.length - 1];
const body = JSON.parse(lastCall[1]?.body as string);
const body = JSON.parse(lastCall.options?.body as string);
const formData = JSON.parse(body.form_data);
const queryModeFields = Object.keys(
@@ -296,11 +298,13 @@ test('does omit hiddenFormData when query_mode is not enabled', async () => {
await waitFor(() => renderWithRouter({ initialState: customState }));
const formDataEndpointCalls = fetchMock.calls(/api\/v1\/explore\/form_data/);
const formDataEndpointCalls = fetchMock.callHistory.calls(
/api\/v1\/explore\/form_data/,
);
expect(formDataEndpointCalls.length).toBeGreaterThan(0);
const lastCall = formDataEndpointCalls[formDataEndpointCalls.length - 1];
const body = JSON.parse(lastCall[1]?.body as string);
const body = JSON.parse(lastCall.options?.body as string);
const formData = JSON.parse(body.form_data);
Object.keys(customState.explore.hiddenFormData).forEach(key => {